Compare commits

...

2 Commits

Author SHA1 Message Date
neverland
a245da15cf
fix(NoticeBar): failed to play when inside a re-opened popup (#8789) 2021-06-01 09:49:47 +08:00
neverland
e49a519e43 fix(Collapse): fix safari rendering issues (#8788) 2021-06-01 09:36:54 +08:00
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,9 @@
&__title {
.van-cell__right-icon::before {
transform: rotate(90deg);
// using translateZ to fix safari rendering issues
// see: https://github.com/youzan/vant/issues/8608
transform: rotate(90deg) translateZ(0);
transition: transform @collapse-item-transition-duration;
}

View File

@ -11,6 +11,7 @@ import {
useEventListener,
onMountedOrActivated,
} from '@vant/use';
import { onPopupReopen } from '../composables/on-popup-reopen';
// Components
import { Icon } from '../icon';
@ -171,6 +172,7 @@ export default defineComponent({
}, ms);
};
onPopupReopen(start);
onMountedOrActivated(start);
// fix cache issues with forwards and back history in safari