jquery.ui.spinner
jquery.ui.spinner copied to clipboard
spin buttons doesn't display nicely
BUG: Spin buttons doesn't display nicely when your input field is hidden, and problem is caused by input.outerHeight because jquery function outerHeight returns bad height if element is hidden.
this is also apparent if a spinner is initiated via dynamically added HTML.
for example adding a spinner to a page via ajax, has the same effect you describe.
+1
+1
+1
A work around I used was to init it once it was presented. With that it worked fine
Thanks for the workaround. I've stopped developing this widget, since there are other alternatives out there which are a bit better, I think. I encourage people to fork it and improve it, though.
@btburnett3: What are the alternatives you are talking about. I implemented this spinner but are allways interested in better solutions.
I have been using a beta version of the spinner that is now included directly in jQuery UI 1.9
http://jqueryui.com/spinner/
On Wed, Oct 17, 2012 at 7:14 AM, grossmann [email protected] wrote:
@btburnett3 https://github.com/btburnett3: What are the alternatives you are talking about. I implemented this spinner but are allways interested in better solutions.
— Reply to this email directly or view it on GitHubhttps://github.com/btburnett3/jquery.ui.spinner/issues/20#issuecomment-9523656.