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

Doesn't work for me on hidden input filds (on tabs)

Open fschaefer opened this issue 15 years ago • 5 comments

It seems the spinner buttons height is calculated based on the input height it is attached to. Hidden input fields (ie on an not active tab) reports input.outerHeight() == 0 and the calculation for the button height fails.

jQuery: 1.4.2 jQuery UI: 1.8.1 jQuery UI Spinner 1.20

fschaefer avatar May 11 '10 10:05 fschaefer

I am having this problem as well - has anyone got a workaround?

frankvm04 avatar May 18 '11 18:05 frankvm04

Take a look at http://docs.jquery.com/UI/Tabs and search for "off-left technique".

fschaefer avatar May 18 '11 18:05 fschaefer

Thanks. I was having the same problem in a hidden dialog. Ended up adding a height option and tweaking the determination of top for the button wrapper.

frankvm04 avatar May 18 '11 19:05 frankvm04

I had the same issue with tabs, using the of "off-left technique" worked for me.

wadechristie avatar Sep 08 '11 21:09 wadechristie

can someone add to main branch?

andrewmclagan avatar Mar 10 '12 10:03 andrewmclagan