CompactSlider
CompactSlider copied to clipboard
using scroll wheel with slider causes XCode SwiftUI API warning
Using XCode 16.2 and OSX 15.3
The code
if progress.update(roundedValue, at: progressAndIndex.index) {
HapticFeedback.vibrate(isEnabled: isHapticFeedbackEnabled)
}
causes the following warning to be emitted:
Modifying state during view update, this will cause undefined behavior.
and it happens continually while scrolling.
Thanks! I'll take a look into it.
Try v.2.0.9
I tried with v2.0.9 and am seeing the exact issue, on the same line.
I have no ability to re-open an issue - and I supposed to open a new issue?