Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#5334 closed bug (wontfix)

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:



<a class="button ui-helper-hidden" href="#">Sample hidden button</a> <body>

<script type="text/javascript"> $(function() {

makes my initially hidden element appear






button adds ui-button after the user declared ui-helper-hidden class and thus display: none gets overwritten by display:inline-block.


Change History (4)

comment:1 Changed 9 years ago by M.Gaetan89

I submitted a fix for this ticket on GitHub :

Last edited 9 years ago by M.Gaetan89 (previous) (diff)

comment:2 Changed 9 years ago by Scott González

Resolution: wontfix
Status: newclosed

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.

comment:3 Changed 9 years ago by Scott González

Component: CSS Frameworkui.button

comment:4 Changed 8 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.