truffle-box / react-auth-box

Truffle, Webpack, React, Redux boilerplate with routing and authentication via a smart contract.
https://truffle-box.github.io/
MIT License
176 stars 66 forks source link

Fix bugs preventing use in Firefox #12

Closed baldwinjj closed 7 years ago

baldwinjj commented 7 years ago

Event Fix

Firefox throws an error whenever a user clicks the "Sign Up" button that reads "ReferenceError: event is not found." This is fixed by removing a reference to the undefined "event" in SignUpFormContainer. This doesn't throw an error in Chrome or IE because both have a global symbol for "event". The SignUpForm container already handles preventing event defaults anyway.

UI Fix

Firefox causes an unwanted line break in the menu as shown in the image below. This is due to the right floated elements in the menu. A simple fix is to switch the menu elements so that the floated element comes first followed by the elements still within the flow of the page.

image

OnlyOneJMJQ commented 7 years ago

Good catch @baldwinjj !