Chrome: Version 73.0.3683.103 (Official Build) (64-bit)
Materialize verion: 0.100.2
Can be seen here - http://archives.materializecss.com/0.100.2/forms.html
Select closes right after opening.
This is code that causes closing of dropdown (setTimeout handler gets invoked):
https://github.com/Dogfalo/materialize/commit/42051a56d2a35bdd8fbdffab739ee64859b186d4#diff-482573c55de5f85b5364c3b776635db9
Seems to happen only in newer versions of Chrome as this was added back in version 0.98.2:
https://github.com/Dogfalo/materialize/releases/tag/v0.98.2
Interestingly dropdown does not close if it dpops up and not down
This short solution may be helpful for someone:
$(document).on("click", ".select-wrapper", function (event) {
event.stopPropagation();
});
Most helpful comment
This short solution may be helpful for someone:
$(document).on("click", ".select-wrapper", function (event) {event.stopPropagation();});