Submenu actions not working in Chromium Browsers
See original GitHub issueDescribe the bug If an action is assigned to a button in an submenu, this action is not called, when the button is clicked.
To Reproduce Steps to reproduce the behavior:
- Define a submenu, for example:
{
name: 'FileMenu',
className: 'ma ma-file',
title: 'File',
children: [
{
name: 'Save',
action: saveFile,
className: 'ma ma-save',
title: 'Save'
},
{
name: 'New',
action: newFile,
className: 'ma ma-new',
title: 'New'
}
]
},...
- Define a function newFile, for example:
function newFile() {
console.log("test");
}
- Load the example and click on File > New
- Check the browser console
- No output on console is shown in Google Chrome, Chromium, Edge or similar browser. It is working however in Firefox.
Expected behavior In Broser console the output “test”
** Version information **
- OS: Windows 10
- Browser: Chrome 95, Chromium 95, Edge 95
- EasyMDE version: 2.15.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (7 by maintainers)
Top Results From Across the Web
713746 - Dropdown menus not working - chromium - Monorail
Drop down menus open automatically when hovering over them. Clicking on menu items is like clicking on that what is under the popup...
Read more >Submenu not accessible in Chrome | WordPress.org
It seems, the current version has a small bug in the stylesheet. Chrome: Submenu shows on hover, but is hidden when I try...
Read more >Problem with navigation submenu in Windows browsers
I'm seeing a problem in navigation menu behavior when a submenu is present. The problem has been reported in Windows but doesn't appear...
Read more >CSS Dropdown menu issues in chrome - Stack Overflow
I am working on a wordpress theme using bootstrap. The theme has a top navigation bar with menus and sub-menus. But for some...
Read more >Sub-Menu options can't be selected in Chrome · Issue #406 · oracle ...
Hi, In Chrome, navigating to the hamburger menu > Export > Terraform the "Local Zip" and "Git" options appear detached from the menu...
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
@lonaru The dropdown buttons
.easymde-dropdown
has ani
element inside for the icon. Thei
needs atabIndex
attribute (I guess value -1) and some styles to remove the blue focus ring from the icon. After this, the:focus-within
pseudo-selector seems to work on Safari too.Please confirm this is fixed in version
2.15.1-10.0
.I’ll deploy
2.16.0
once we know for sure this has solved the issue.