framework7 icon indicating copy to clipboard operation
framework7 copied to clipboard

Picker change its value at random on Safari

Open jmarceli opened this issue 2 months ago • 0 comments

  • 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

  1. Open Safari browser
  2. Go to official docs page https://framework7.io/docs/picker
  3. Click on the picker from "2 values and 3d-rotate effect" example
  4. Click away to close the picker
  5. Repeat 2. and 3. couple times
  6. 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.

jmarceli avatar Apr 16 '24 11:04 jmarceli