Skip to content

Commit

Permalink
releases 4.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed May 9, 2024
1 parent 14f0ea2 commit 8f2f10f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div @click="clickEvent">
<div class="app-container" @click="clickEvent">
<header class="page-header">
<div class="left">
<a href="/vxe-table/">
Expand Down
6 changes: 4 additions & 2 deletions examples/style/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ body {
}
html,
body,
#app {
#app,
.app-container {
height: 100%;
overflow: hidden;
}
#app {
#app,
.app-container {
display: flex;
flex-direction: column;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "4.6.11",
"version": "4.6.12",
"description": "一个基于 vue 的 PC 端表单/表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、JSON 配置式...",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
8 changes: 4 additions & 4 deletions packages/pulldown/src/pulldown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ export default defineComponent({
if (!disabled) {
if (visiblePanel) {
if (getEventTargetNode(evnt, panelElem).flag) {
// updatePlacement()
updatePlacement()
} else {
// hidePanel()
hidePanel()
pulldownMethods.dispatchEvent('hide-panel', {}, evnt)
}
}
Expand All @@ -231,7 +231,7 @@ export default defineComponent({
if (!disabled) {
reactData.isActivated = getEventTargetNode(evnt, el).flag || getEventTargetNode(evnt, panelElem).flag
if (visiblePanel && !reactData.isActivated) {
// hidePanel()
hidePanel()
pulldownMethods.dispatchEvent('hide-panel', {}, evnt)
}
}
Expand All @@ -240,7 +240,7 @@ export default defineComponent({
const handleGlobalBlurEvent = (evnt: Event) => {
if (reactData.visiblePanel) {
reactData.isActivated = false
// hidePanel()
hidePanel()
pulldownMethods.dispatchEvent('hide-panel', {}, evnt)
}
}
Expand Down

0 comments on commit 8f2f10f

Please sign in to comment.