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

tooltip border does not resize on "Enter" #84

Open
vronchetti opened this issue Sep 13, 2018 · 1 comment
Open

tooltip border does not resize on "Enter" #84

vronchetti opened this issue Sep 13, 2018 · 1 comment

Comments

@vronchetti
Copy link

I've noticed in the demos that the border box for a value does not resize to accommodate a number of more digits until the user clicks outside of the box. Pressing the "Enter" key has no effect. Is this intended behavior? Is there a clean fix? Thank you!

screen shot 2018-09-13 at 8 46 10 am Type "1" and click Enter

screen shot 2018-09-13 at 8 46 27 am Type "23" and click Enter, tooltip border does not resize

screen shot 2018-09-13 at 8 46 33 am Click outside box, tooltip border resizes to fit "23"

@soundar24
Copy link
Owner

@vronchetti actually this needs to be fixed, when press enter key. But extending the textbox width on type, may vary based on application behavior, so that it was not considered in the source at the initial time.

However you can achieve your requirement in the application level like below:

http://jsfiddle.net/soundar24/0bxqgf5t/

But I will consider this in source level and provide the option for easy customization.

Thanks :)

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