-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: disable "mouse hover focuses PCB viewer" by default #141
base: main
Are you sure you want to change the base?
feat: disable "mouse hover focuses PCB viewer" by default #141
Conversation
…h prop focusOnHover - The default behavior for mouse hover focusing the PCB viewer has been disabled. - Added a new `focusOnHover` prop to allow enabling this feature if required.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think you fixed the right behavior, to test, make sure that you create a story that has the prop, then test hovering over the PCB
Currently when you hover over the pcb viewer it refocuses the page, adjusting the scroll position. We want to disable that behavior when focusOnHover={false | undefined}
I thought its like focusOnHover={false | true | undefined} See in deployment it doesn't focus the traces which can be turned on. |
@kom-senapati i can show this on stream tomorrow but the issue involves focusing the pcb viewer on hover meaning the page is adjusting the scroll position to focus the pcb viewer the scroll position is changing, this is the thing we want to disable (nothing to do with traces etc.) |
@seveibar check this too |
focusOnHover
prop to allow enabling this feature if required./claim #139
Fixes #139