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

FiledColour colour picker keyboard nav gets stuck in the top left #2477

Open
1 task done
microbit-matt-hillsdon opened this issue Jan 17, 2025 · 1 comment · May be fixed by #2479
Open
1 task done

FiledColour colour picker keyboard nav gets stuck in the top left #2477

microbit-matt-hillsdon opened this issue Jan 17, 2025 · 1 comment · May be fixed by #2479
Assignees
Labels
type: bug Something isn't working

Comments

@microbit-matt-hillsdon
Copy link

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

@blockly/field-colour

Description

If you navigate to the top left further arrow key navigation doesn't work so you get stuck on white (no logged error).

Reproduction steps

  1. Run npm start in plugins/field-colour
    • I had to downgrade @blockly/dev-tools as the referenced 8.0.13 isn't in NPM - maybe due to this bug)
  2. Drag a block with a colour picker
  3. Click on the picker
  4. Navigate to top left with the arrow keys
  5. Notice you can't navigate anymore
    Happens regardless of whether left or up arrow took you to the top left. Maybe something awry in this code.

Stack trace

Screenshots

Image

@microbit-matt-hillsdon microbit-matt-hillsdon added triage type: bug Something isn't working labels Jan 17, 2025
@cpcallen
Copy link
Contributor

I can confirm this (and also that it can be reproduce on the demo page for field-colour).

@cpcallen cpcallen changed the title Colour picker keyboard nav gets stuck in the top left FiledColour colour picker keyboard nav gets stuck in the top left Jan 17, 2025
@cpcallen cpcallen removed the triage label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants