ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.11k stars 13.5k forks source link

fix(toast): swipe gesture works with custom container layout #29999

Closed aeharding closed 1 week ago

aeharding commented 2 weeks ago

Issue number: resolves #29998


What is the current behavior?

Applying a custom layout to ion-toast::part(container), for example width: 50%, will make the part of the toast outside this element's bounds non-interactive for swiping gestures.

What is the new behavior?

Can swipe from anywhere on the toast with custom layout applied to ::part(container)

Does this introduce a breaking change?

Other information

Before After
vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 0:47am