jquery.ui.spinner icon indicating copy to clipboard operation
jquery.ui.spinner copied to clipboard

spin buttons doesn't display nicely

Open bajalovic opened this issue 13 years ago • 8 comments

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.

bajalovic avatar Jan 31 '12 11:01 bajalovic

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.

andrewmclagan avatar Mar 10 '12 10:03 andrewmclagan

+1

petrometro avatar Jul 08 '12 10:07 petrometro

+1

senex avatar Aug 13 '12 01:08 senex

+1

jairovsky avatar Sep 26 '12 16:09 jairovsky

A work around I used was to init it once it was presented. With that it worked fine

senex avatar Sep 26 '12 17:09 senex

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 avatar Sep 26 '12 18:09 btburnett3

@btburnett3: What are the alternatives you are talking about. I implemented this spinner but are allways interested in better solutions.

grossmann avatar Oct 17 '12 11:10 grossmann

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.

btburnett3 avatar Oct 17 '12 12:10 btburnett3