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

fix: allow users to click into text input fields when ::before border #4584

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

pete-watters
Copy link
Contributor

@pete-watters pete-watters commented Nov 28, 2023

Try out this version of Leather — download extension builds.

fix: allow users to click into text input fields when ::before border is triggered

Kapture.2023-11-28.at.11.24.35.mp4

@@ -58,11 +57,6 @@ export function TextInputField({
}}
border="default"
borderRadius="sm"
className={css({
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just got rid of this as it wasn't working and hasn't been for a while. I opened a task for it #4583

@pete-watters pete-watters linked an issue Nov 28, 2023 that may be closed by this pull request
@pete-watters pete-watters self-assigned this Nov 28, 2023
@pete-watters pete-watters added the bug Functionality broken label Nov 28, 2023
Copy link
Collaborator

@kyranjamie kyranjamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed in Ledger PR adding pointEvents none to before, but this works too if we're not using the focus.

@fabric-8 @mica000 should the field have a focus state change the border?

@pete-watters pete-watters added this pull request to the merge queue Nov 28, 2023
Merged via the queue into dev with commit cddf09b Nov 28, 2023
26 checks passed
@pete-watters pete-watters deleted the fix/recipient-before branch November 28, 2023 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field focus blocked by ::before
2 participants