Custom Query (7259 matches)
Results (28 - 30 of 7259)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#15221 | notabug | Button disabled when initialized with falsy 0 | ||
Description |
When creating a button with disabled=0 then ui-state-disabled is applied. Minimum Example<html> <!-- minimum example of jquery-ui bug: "disabled" to be strict boolean for css class toggling --> <head> <title>Button</title> <link rel="stylesheet" type="text/css" href="jquery-ui-1.12.1/jquery-ui.css"></link> </head> <body> <h1>Note that ui-state-disabled and ui-button-disabled are out-of-sync on the first button</h1> <button>I am enabled</button> <button>Me too</button> <button>I am disabled</button> <button>Me too</button> <script src="jquery-3.2.1.js" type="text/javascript"></script> <script src="jquery-ui-1.12.1/jquery-ui.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ $('button').eq(0).button({ disabled: 0 }).end().eq(1).button({ disabled: false }).end().eq(2).button({ disabled: 42 }).end().eq(3).button({ disabled: true }); }) </script> </body> </html> Analysisjquery-ui.js has three occurrences of calls to _toggleClass with the value of the disabled option being forwarded as-is. Some other occurrences already have the conversion to boolean included. _toggleClass however uses this parameter for animation when it is not strictly boolean. I have no build environment for jquery-ui, but I fixed it directly by adding the conversion to boolean "!!". WorkaroundSet option "disabled" to strict boolean. |
|||
#15218 | notabug | Internet Explorer - Slowness with lots of input | ||
Description |
Hello, I have a form with a lot of inputs (approximately 1200) and on Internet Explorer, it's very slow to load (8s). On Chrome and Firefox, it's around 1 second maximum. When I remove inputs, it's very quick. I don't know what to do to fix this. Thank you in advcance for your help. Best regards, Anthony |
|||
#15212 | duplicate | Tooltip on select options is not handled correctly | ||
Description |
Tooltip for select options is not handled correctly. When tooltip has been initialized :
|