Skip to content

Commit

Permalink
Fix IE submit button display:initial issue (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisrudge committed Jun 1, 2018
1 parent 315bb14 commit 56493f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/box/chrome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export default class Chrome extends React.Component {
contentProps={contentProps}
label={submitButtonLabel}
ref={el => (this.submitButton = el)}
display={shouldShowSubmitButton ? 'initial' : 'none'}
display={shouldShowSubmitButton ? 'block' : 'none'}
/>
{auxiliaryPane && (
<TransitionGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/helper/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const hasSocialButtons = hasViewFn('.auth0-lock-social-button');
export const hasSSONotice = hasViewFn('.auth0-sso-notice-container');
export const hasSubmitButton = hasFn('button.auth0-lock-submit[name=submit]');
export const hasSubmitButtonVisible = lock =>
q(lock, 'button.auth0-lock-submit[name=submit]', false).style.display !== 'none';
q(lock, 'button.auth0-lock-submit[name=submit]', false).style.display === 'block';
export const hasUsernameInput = hasInputFn('username');
export const isLoginTabCurrent = lock => isTabCurrent(lock, /log in/i);
export const isSignUpTabCurrent = lock => isTabCurrent(lock, /sign up/i);
Expand Down

0 comments on commit 56493f2

Please sign in to comment.