Commit Graph
2 Commits
Author SHA1 Message Date
68d1ade239 fix(Sticky): resize or orientationchange wrapper no reset width and height (#11753)
* fix(Swipe): props changed but component didn't

* fix(Swipe): target watch windowWidth

* Update packages/vant/src/swipe/Swipe.tsx

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

---------

Co-authored-by: neverland <jait.chen@foxmail.com>
2023-04-26 19:40:25 +08:00
17055a94c7 fix(Swipe): should resize after props.width/height changed (#11747)
* fix(Swipe): props changed but component didn't

* fix(Swipe): target watch windowWidth

* Update packages/vant/src/swipe/Swipe.tsx

---------

Co-authored-by: neverland <jait.chen@foxmail.com>
2023-04-15 09:28:02 +08:00