openOnClick
See original GitHub issue <Select.Creatable ref={(node) => {this.Selectable= node;}} openOnClick={false} searchable={true} multi={true} />
expected behavior: dropdown doesn’t open onclick event,
real behavior: openOnClick prop is ignored, and the dropdown opens onClick event
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:10 (2 by maintainers)
Top Results From Across the Web
openOnClick - API Reference - Kendo UI Menu - Documentation
openOnClick.subMenuItems Boolean (default: false). Specifies that the sub menus will be opened only on item click. Example. Edit
Read more >IBM Daeja 4.1.5 - openOnClick parameter
openOnClick parameter. This parameter determines whether IBM® Daeja™ ViewONE redirects the browser to open the specified page when the user clicks the image ......
Read more >property ExMenu.OpenOnClick as OpenOnClickEnum - Exontrol
The OpenOnClick property specifies the way the user opens the menus. By default, the OpenOnClick property is exClickMenuBar, and so any popup menu...
Read more >KendoUI Menu link in panel not working when openOnClick is ...
So, when you set openOnClick to true (in opposition to default that is mouse over) what Kendo UI has to do is intercept...
Read more >Angular (forked) - StackBlitz
import { Component } from '@angular/core'; · import { items } from './items'; · @Component({ · selector: 'my-app', · template: ` · <kendo-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 FreeTop 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
Top GitHub Comments
I think I found another solution, using the prop
menuIsOpen
, without involving css changes. You have to control the rendering of the menu withmenuIsOpen
and add custom event handlers foronInputChange
,onChange
andonBlur
:onInputChange
you just check if the action performed isinput-change
and then setopenMenu
(in the component state) totrue
;onChange
andonBlur
events you just hide the menu. Code:Curious about this, too.
openOnClick={false}
only seems to work for the initial click into the input field. Any subsequent clicks will open the control, which is unexpected.