xmartlabs / Eureka

Elegant iOS form builder in Swift
https://eurekacommunity.github.io
MIT License
11.78k stars 1.33k forks source link

onChange event for CountDownRow not fired after user selects 0h 0min #2204

Open nazgu1 opened 2 years ago

nazgu1 commented 2 years ago

When using CountDownRow when you change value to 0 h 0 min it automatically go to nearest non-zero value (correct). If you go to zero from nearest non-zero value it goes back to the same value and next onChange event is not fired, e.g.

  1. I have picker with 15 min intervals
  2. selected 0h 15 min
  3. next selected 0h 0 min
  4. picker goes to 0h 15 min
  5. selected 0h 30 min
  6. onChange does not fire (but it should)

Environment: Eureka 5.4.3, Xcode 13.2 and iOS 14.4, 15.2

mats-claassen commented 2 years ago

Just tested on master branch, Xcode 13.0, iOS 15.0, Simulator and couldn't reproduce. Have you seen this happen in any iOS or have you seen any difference between Simulator and real device? Also a small code sample to reproduce would be helpful