Slider change event doesn’t fire when slider value set #2202
-
I'm trying to change the value of a slider programmatically but the slider change event doesn't fire when I do, nor does the ui update. The underlying value does change. I have a property bound to the slider change event that I'm using in the rust side to get/set the slider value. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
You set the value from Rust? Did you trigger the event loop after setting the value? |
Beta Was this translation helpful? Give feedback.
-
Indeed, the slider However, the UI should refresh. If it doesn't that's a bug. |
Beta Was this translation helpful? Give feedback.
Indeed, the slider
changed
callback will only be called if the value is set by the user. Programmatically changing the value will not result in this being called.However, the UI should refresh. If it doesn't that's a bug.
Do you have an example of code that show the problem?