Warning when used within a form
szehao opened this issue ยท 3 comments
szehao commented
Building a custom select dropdown with ClickAwayListener wrapping the component.
Right now the structure looks something like this
<form onSubmit={e => e.preventDefault()}>
<ClickAwayListener>
<button onClick={e => e.preventDefault()}> test </button>
</ClickAwayListener>
<button type='submit'>submit</button>
</form>
ooade commented
Please, what version of are you using?
szehao commented
Package Version : 1.5.1
React Version : 16.13.1
ooade commented
Hi, it has been fixed in version 1.5.3 ๐