Search and Top Navigation
#5334 closed bug (wontfix)
Opened March 12, 2010 05:10PM UTC
Closed November 17, 2011 03:50PM UTC
Last modified October 11, 2012 09:15PM UTC
ui-helper-hidden get overwritten on initialization of button
Reported by: | Rwhitbeck | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.button | Version: | 1.8rc3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<html>
<a class="button ui-helper-hidden" href="#">Sample hidden button</a>
<body>
<script type="text/javascript">
$(function() {
// makes my initially hidden element appear
$('a.button').button();
});
</script>
</body>
</html>
button adds ui-button after the user declared ui-helper-hidden class and thus display: none gets overwritten by display:inline-block.
Forum: https://forum.jquery.com/topic/ui-1-8rc3-ui-helper-hidden-vs-button
Attachments (0)
Change History (4)
Changed November 05, 2011 01:07PM UTC by comment:1
_comment0: | I submitted a fix for this ticket on GitHub : https://github.com/jquery/jquery-ui/pull/514 → 1320585265661761 |
---|
Changed November 17, 2011 03:50PM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | new → closed |
Unfortunately there's not much we can do about this. We can force the element to be hidden as suggested in the pull request, but that would actually cause another problem, because then .removeClass( "ui-helper-hidden" )
would not cause the button to be displayed.
Changed November 17, 2011 03:50PM UTC by comment:3
component: | CSS Framework → ui.button |
---|
Changed October 11, 2012 09:15PM UTC by comment:4
milestone: | TBD |
---|
Milestone TBD deleted
I submitted a fix for this ticket on GitHub : https://github.com/jquery/jquery-ui/pull/515