logo
Search
showing results for - "antd dropdown stop propogation"
Irene
07 Jul 2020
1/* Providing the */onClick={e => e.stopPropagation()}/* callback to the 
2immediate child of */<Dropdown trigger={["click"]}>/* should solve the issue.
3This worked for me: */
4
5return (
6	<Dropdown trigger={["click"]} overlay={actionsMenu}>
7  		<div onClick={e => e.stopPropagation()} className="action-button-container">
8  			<MoreOutlined />
9  		</div>
10	</Dropdown>
11)
source
similar questions
copy paste menu react native textinput disablehide column in antd table using js 2f react with conditional renderingantd modal hide ok buttondropdown menu in react nativereact antd form disable submit buttonantd table hide columnant design not working in react jsonclick function sider antdreact select remove the loading indicatorantd tooltip width react jssreact select disable optiononclick start and stop the count reacthow prevent copy paste input reactexecute a function on tab click antdhow disabled react selectbootstrap prevent dropdown from closing on clickant design form validation in the modalcascading dropdown for forms react
queries leading to this page
how to make dropdown in antd not closehow to close antd dropdownantd dropdown not closingant prevent dropdown left click antd dropdown not close on clickantd dropdown stop propogationantd dropdown close on clickantd select disable remove antd dropdown stop propogation
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue