Can't click login button after being logged out.
See original GitHub issueDescribe the bug
After being logged out of the CMS, there seems to be a lot of z-index
issues with the login flow. I can’t click the Login with Netlify Identity
button at all.
To Reproduce
- Log out of your admin, or clear your application cache so you are forced to login with Netlify Identity again.
- Navigate to your admin dashboard to get to the login flow.
- Try clicking the Login with Netlify Identity button
Expected behavior
Clicking the Login with Netlify Identity button should prompt an email and password modal to pop up over the button
Screenshots
Applicable Versions:
- Netlify CMS version: 2.11.11
- Git provider: GitHub
- OS: MacOS 10.14.6
- Browser version Chrome 79
CMS configuration
CMS.init({
config: {
backend: {
name: 'git-gateway',
repo: 'https://github.com/mixmaxhq/mixmax-website',
branch: process.env.NETLIFY_BRANCH || 'master',
use_large_media_transforms_in_media_library: true,
},
load_config_file: false,
display_url: 'https://mixmax.com',
media_folder: 'static/assets',
public_folder: '/assets',
publish_mode: 'editorial_workflow',
show_preview_links: true,
collections: [
primary,
feature,
integrations,
useCases,
blog,
hub,
legal,
landingPages,
],
},
});
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Cannot Click nor Type Anything on Log-in Screen
When I press the physical power button it just sort of sleeps rather than shut down so I cannot get any further than...
Read more >Can't click Sign in button on google accounts
Hi there, today i was going to log in to my gmail account when i noticed the page would not allow me to...
Read more >Can't get past login screen. Login button is always faded and ...
No matter what, when I try to login, the login button is faded and unable to be clicked on. I've tried on Firefox,...
Read more >Login problem (Button 'login' not responding) - WordPress.org
I cannot access my admins area. when I click the “Log-in” button nothing happens… the button doesn't respond to my request to login....
Read more >Sign in button grey? - Auth0 Community
... when i open my website with nodemon, both the log in and log out button are gray, and i can't click them...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this issue. Adding
enableIdentityWidget: false,
togatsby-plugin-netlify-cms
options ingatsby-config.js
solved the problem. I’m now running into another issue where adding that property breaks page previews in the CMS.Edit: From further investigations
gatsby-plugin-netlify-cms
overrides the regular Netlify CMS login flow with iframes that seem to have additional functionality likeForgot password
. Turns out the issue we were having is that we were manually initing the CMS, and for some reason, theload_config_file: false
property and value is causing the iframes to override theLogin with Netlify Identity
button. Commenting that line in the init fixed the issue.We are still investigating further, and I’ll update more soon.
You can read up on that discussion here: #332