-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Dialog close button needs dialog-button class #5559
Conversation
@peterflynn Can you review? |
@redmunds change looks good |
@redmunds |
@redmunds I wonder if it'd be a more robust fix to change Dialogs to listen for If we're worried about false positives if dialogs use |
Otoh, how is the close button even able to dismiss the dialog in the first place? It seems like it's removing the dialog without calling |
@peterflynn i investigated this a bit further. |
If wanted i can put up a pull |
@WebsiteDeveloper Thanks for investigating! Would it harm anything to leave the Bootstrap listener in place, but also listen in Dialogs.js? I think some people on the team would like us to avoid modifying Bootstrap code where possible (though I don't feel too strongly about it myself). |
@peterflynn actually we could just listen for the hide event on dialog and then remove the wrapper if we want to avoid modifying bootstrap. |
@WebsiteDeveloper Sounds reasonable to me -- have you tested it out locally? If it works reliably, definitely put up a pull. Thanks! |
@WebsiteDeveloper Thanks for looking at this! |
I wasn't sure if we wanted to take both, because it might make sense to have the |
Closing. |
This is for #5558
cc @WebsiteDeveloper