Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
Moving mouse out of Window when still holding scrollbar is treated as unactive
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
I have a simple Group on a Window widget. This Group has many elements which spawns a scrollbar. If I hold onto the scrollbar and move my mouse outside of the current window `nk_item_is_any_active` will return false even though I haven't let go of the scrollbar. The expected behaviour is the Group widget is still being active/focused.
Demonstration:
https://user-images.githubusercontent.com/34767287/221190771-16ae477b-d63b-4e9b-bcdc-758b668e1981.mp4
I'm currently using the raylib runtime at https://github.com/RobLoach/raylib-nuklear
Contributor guide
Research direction
Start by tracing nk_item_is_any_active in the Group/Window scrollbar interaction described in the issue, using the linked demonstration and raylib runtime for reproduction. Check how dragging state is handled when the pointer leaves the window; done means the Group remains active until the scrollbar is released.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100