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

Text input may need to prevent default/bubble #45

Open
zero41120 opened this issue Mar 7, 2023 · 0 comments
Open

Text input may need to prevent default/bubble #45

zero41120 opened this issue Mar 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zero41120
Copy link

Expected Behavior

When interacting with input in Storybook sand box. Shortcut key of the parent page should not be triggered.
For example, pressing "A" toggles the "action" section and "F" enters full screen.

Current Behavior

Pressing "A" shows the character A in the input graphics, and also toggles the action area.

Possible Solution

preventDefault when input is focus

Steps to Reproduce

  1. Visit Sandbox page
  2. Click on the input box
  3. Press "A", observe that action section is toggled and A shows in the input graphics.

Environment

  • version: e.g. 8.0.0
  • Browser & Version: e.g. Chrome 67
  • OS & Version: e.g. Ubuntu 18.04
  • Running Example: url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants