Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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(legend): add keyboard navigation #880
feat(legend): add keyboard navigation #880
Changes from 24 commits
8846dd2
3f66d55
b85af45
5342cc8
5bfd8ab
7ded2df
f783dba
16fcfa7
d0d4a2e
c4b60e1
cfd84a6
8bafadd
09c1048
69c528f
835655f
4637ccc
f7e2f27
ec97027
5b842fe
7753767
bc14508
038f30c
e5a83e4
dc373e8
cde7eb9
07eadda
c78bfce
f751a99
e2f516a
ef51a44
a2cfae8
a85b704
5e29295
35425e2
0538d65
27c4826
58a74d4
326cc37
07fd6e2
92eb0e2
ecc7797
48f01e7
fc8c562
dd19e9d
d14a03a
03ee240
c260426
3631426
64e99f8
02a2555
5bdb611
8932129
55f1628
02a06fe
a5acd93
547f69d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
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.
The
margin-righ
t is making the horizontal items to move when they are focused.I think the reason you added this
margin-right
was for cases that we have the legend items added to the right. So we can be more specific and only add the margin-right to those cases: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.
🙇♀️ thank you f751a99
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.
@miukimiu Is there a way we could add a transparent border to this so there is no jump in height and width when the border is added?
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 noticed that the color picker and the legend don't have the same height. And the circle is not vertically centered.
To improve this we can add:
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.
Thank you for the help! Commit f751a99 for changes