Skip to content

Fix: firefox dialog collapse on mouseout#175

Merged
DanDeMicco merged 2 commits intobox:masterfrom
DanDeMicco:firefox-dialog
Apr 17, 2018
Merged

Fix: firefox dialog collapse on mouseout#175
DanDeMicco merged 2 commits intobox:masterfrom
DanDeMicco:firefox-dialog

Conversation

@DanDeMicco
Copy link
Contributor

This issue was caused because toElement is not supported in firefox, thus was returning undefined and was being replaced with event.target in a later method, which is the dialog itself. Replaced with relatedTarget which is cross browser

@boxcla
Copy link

boxcla commented Apr 17, 2018

Verified that @DanDeMicco has signed the CLA. Thanks for the pull request!

@DanDeMicco DanDeMicco changed the title Fix: firefox comment collapse on mouseout Fix: firefox dialog collapse on mouseout Apr 17, 2018
Copy link
Contributor

@pramodsum pramodsum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just test that it doesn't break on other browsers 👍

@DanDeMicco
Copy link
Contributor Author

DanDeMicco commented Apr 17, 2018

tested on ie, edge, chrome, firefox, and safari. All good!

@DanDeMicco DanDeMicco merged commit c63f087 into box:master Apr 17, 2018
@DanDeMicco DanDeMicco deleted the firefox-dialog branch April 17, 2018 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants