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

Autowidth on select element #18

Open
Mayson12381 opened this issue Nov 27, 2019 · 2 comments
Open

Autowidth on select element #18

Mayson12381 opened this issue Nov 27, 2019 · 2 comments

Comments

@Mayson12381
Copy link

I actually tried using your package on a select element and it worked pretty good. But it throws an error in the console warning me to only us it on input elements.

Since it is working, I will keep using it, but can I get rid of the error message?

@syropian
Copy link
Owner

Hm, that's an interesting use case. Right now there's no way to squelch that message, as the intended use was to only use on an input. Maybe I'll add <select> els to the list of allowed elements.

@Mayson12381
Copy link
Author

That would be pretty nice!
A quick side note:
the select sometimes is cut off on the right, but that is easily solvable with the comfort zone attr. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants