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

bug: Toolbar keeps toggling on and off on spacebar press #4544

Open
Manueljlin opened this issue Apr 30, 2024 · 1 comment
Open

bug: Toolbar keeps toggling on and off on spacebar press #4544

Manueljlin opened this issue Apr 30, 2024 · 1 comment
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io

Comments

@Manueljlin
Copy link

Steps To Reproduce

  1. Open Penpot document
  2. Click on the top toolbar line to hide
  3. Hold space and click to pan

Expected behavior

Focus is taken away from the toolbar hide action right after toggling visibility (or at least, when hiding)

Actual behavior

After clicking the toolbar hiding DOM element, the focus on it is kept, so each time an user wants to pan in the document by holding space, it triggers the toolbar's onKeyDown event (toggling visibility) until the user clicks on the canvas or another UI region.

Screenshots or video

No response

Desktop (please complete the following information)

  • OS: openSUSE Tumbleweed
  • Browser: Firefox 125.0.2

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

Official instance (penpot.app)

Frontend Stack Trace

No response

Backend Stack Trace

No response

Additional context

No response

@Manueljlin Manueljlin added the bug label Apr 30, 2024
@madalenapmelo-kp
Copy link
Contributor

Hi @Manueljlin,

I've added this issue to our backlog on Taiga, you can find the details here: https://tree.taiga.io/project/penpot/issue/7654

@madalenapmelo-kp madalenapmelo-kp added the managed on taiga This issue has been moved to our project at Taiga.io label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

2 participants