framework7
framework7 copied to clipboard
Picker change its value at random on Safari
- Framework7 version: 8.3.3
- Platform and Target: Safari 17.4.1
- Live Link or CodeSandbox: https://framework7.io/docs/picker
Describe the bug
After a few clicks to open and close Picker its values are changing at random without user interaction. It happens more frequently in case of multi-column pickers but it can also appear in single-column case.
To Reproduce
- Open Safari browser
- Go to official docs page https://framework7.io/docs/picker
- Click on the picker from "2 values and 3d-rotate effect" example
- Click away to close the picker
- Repeat 2. and 3. couple times
- See picker value changing without any direct user interaction with the picker
Expected behavior
Picker value should not change without user interaction
Actual Behavior
Picker value is randomly changing
Screenshots
https://github.com/framework7io/framework7/assets/4281333/7a186c21-cb5c-41ff-b859-ed5901fff3b6
Additional context
It doesn't exist in Chromium-based browsers, it is happening only in Safari. I didn't do any tests in Mozilla.
Based on my own investigation is seems that change
event is triggered together with opening the Picker. This event seems to be never triggered in Chromium browsers.