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

Browser stuck when using input with prefix #161

Closed
huuptag opened this issue Nov 15, 2023 · 2 comments
Closed

Browser stuck when using input with prefix #161

huuptag opened this issue Nov 15, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@huuptag
Copy link

huuptag commented Nov 15, 2023

Example code:
<x-bladewind.input name="fullname" placeholder="John T. Doe" prefix="user" prefix_is_icon="true" />

Info in DevTools:
image

It appears that the script positionPrefix has created too many eventListeners on blur and focus.

@huuptag huuptag changed the title My browser completely stuck after using an input with an icon Browser stuck when using input with icon Nov 15, 2023
@FA-LinhTQ
Copy link

I face similar problems as well

@mkocansey mkocansey self-assigned this Nov 15, 2023
@mkocansey mkocansey added the bug Something isn't working label Nov 15, 2023
@mkocansey
Copy link
Owner

Ooops.. this is a no no.
Will address this as high priority.

@huuptag huuptag changed the title Browser stuck when using input with icon Browser stuck when using input with prefix Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants