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

Cannot click into text input within a repeater on Firefox #1419

Open
njoswald opened this issue Jun 17, 2024 · 2 comments
Open

Cannot click into text input within a repeater on Firefox #1419

njoswald opened this issue Jun 17, 2024 · 2 comments
Assignees
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro

Comments

@njoswald
Copy link

njoswald commented Jun 17, 2024

Reproduction

https://formkit.link/61b91f003bca0ef1c221ed2327916904

Describe the bug

When creating a text input inside a repeater, you are not able to click inside or highlight the text present in the input. This appears to occur for any text input. I have tested text, text area, and email inputs.

This issue is only occurring with Firefox at the moment, and I have confirmed that you can click into the text on Chrome and Edge. I have not tried any other browsers.

This issue also only occurs when "draggable='true'" is set as an attribute for the repeater.

I was able to reproduce the issue in the playground, and confirmed that it only occurs on Firefox.

Environment

• OS: Windows 11
• Browser Firefox
• Version 0.126.11 and 1.6.5

@njoswald njoswald added ⛑ Needs triage The issue has not yet been examined by the FormKit team. 🐛 bug-report Bug is reported, but not verified by team labels Jun 17, 2024
@sashamilenkovic sashamilenkovic added 🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro and removed 🐛 bug-report Bug is reported, but not verified by team ⛑ Needs triage The issue has not yet been examined by the FormKit team. labels Jun 17, 2024
@philipstarkey
Copy link

I think this might be an upstream issue in @formkit/drag-and-drop. It looks like this behaviour is a long standing (12 year old) bug in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=800050

The workaround as explained in that link would be to only set the draggable=true html attribute (not the prop in Vue, but the HTML attribute set internally) on mouse-down on the drag handle. Presumably this is being set by @formkit/drag-and-drop and not the Pro component?

@sashamilenkovic
Copy link
Contributor

@philipstarkey You are correct. This is on our queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro
Projects
None yet
Development

No branches or pull requests

3 participants