Skip to content

Commit

Permalink
Revert "fix(t-popup): display影响touch事件,改用visibility (#1057)" (#1070)
Browse files Browse the repository at this point in the history
This reverts commit a0e016d.
  • Loading branch information
anlyyao authored Aug 31, 2023
1 parent f2e98ba commit d854a37
Show file tree
Hide file tree
Showing 11 changed files with 94 additions and 95 deletions.
24 changes: 12 additions & 12 deletions src/calendar/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`Calendar > Calendar baseVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -2209,7 +2209,7 @@ exports[`Calendar > Calendar customButtonVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -4403,7 +4403,7 @@ exports[`Calendar > Calendar customRangeVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -4863,7 +4863,7 @@ exports[`Calendar > Calendar customTextVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -5874,7 +5874,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -8061,7 +8061,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -10248,7 +10248,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -12460,7 +12460,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -13434,7 +13434,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -15621,7 +15621,7 @@ exports[`Calendar > Calendar mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -18198,7 +18198,7 @@ exports[`Calendar > Calendar multipleVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down Expand Up @@ -20388,7 +20388,7 @@ exports[`Calendar > Calendar rangeVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->

Expand Down
1 change: 0 additions & 1 deletion src/calendar/__test__/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ exports[`calendar > props > : format 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: visible;"
>
<!--v-if-->
Expand Down
24 changes: 12 additions & 12 deletions src/cascader/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`Cascader > Cascader keysVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -516,7 +516,7 @@ exports[`Cascader > Cascader lazyVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -741,7 +741,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -982,7 +982,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -1198,7 +1198,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -1439,7 +1439,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -1680,7 +1680,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -1925,7 +1925,7 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2122,7 +2122,7 @@ exports[`Cascader > Cascader themeTabVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2321,7 +2321,7 @@ exports[`Cascader > Cascader withTitleVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2553,7 +2553,7 @@ exports[`Cascader > Cascader withValueVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down
2 changes: 1 addition & 1 deletion src/cascader/__test__/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`cascader > events > : pick 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down
18 changes: 9 additions & 9 deletions src/date-time-picker/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ exports[`DateTimePicker > DateTimePicker baseVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -475,7 +475,7 @@ exports[`DateTimePicker > DateTimePicker customRangeVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -844,7 +844,7 @@ exports[`DateTimePicker > DateTimePicker fullVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2072,7 +2072,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2499,7 +2499,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -2770,7 +2770,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -3320,7 +3320,7 @@ exports[`DateTimePicker > DateTimePicker mobileVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -3692,7 +3692,7 @@ exports[`DateTimePicker > DateTimePicker timeVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down Expand Up @@ -4225,7 +4225,7 @@ exports[`DateTimePicker > DateTimePicker yearMonthVue demo works fine 1`] = `
</div>
<div
class="t-popup t-popup--bottom"
style="visibility: hidden;"
style="display: none;"
>
<!--v-if-->
Expand Down
Loading

0 comments on commit d854a37

Please sign in to comment.