Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The handle of the Split widget should have a minimum hit area #641

Closed
s3thi opened this issue Mar 12, 2020 · 0 comments · Fixed by #738
Closed

The handle of the Split widget should have a minimum hit area #641

s3thi opened this issue Mar 12, 2020 · 0 comments · Fixed by #738
Labels
enhancement adds or requests a new feature widget concerns a particular widget

Comments

@s3thi
Copy link
Collaborator

s3thi commented Mar 12, 2020

You can only interact with the handle of the Split widget if you place your cursor exactly within its bounds. On some operating systems -- for example macOS -- you can place your cursor a tiny bit outside the bounds of the splitter handle and still be able to interact with it.

It would be useful to have this feature in Druid's Split widget as well. This would allow you to make your splitter barely visible -- say only 4px wide -- but still let users interact with it if they place their cursor 2px to the left or right of the visible area.

A good way to do this would be to specify a minimum hit area for the splitter handle. If you ask for a handle that has a width less than the minimum hit area, the widget will still capture events that occur within the minimum area.

@cmyr cmyr added enhancement adds or requests a new feature widget concerns a particular widget labels Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement adds or requests a new feature widget concerns a particular widget
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants