bootstrap-multiselect icon indicating copy to clipboard operation
bootstrap-multiselect copied to clipboard

[question] Dropdown not dismiss automatically when clicking outside

Open miaoz2001 opened this issue 4 years ago • 1 comments

Hi

I have a question to ask, please help me out, thanks!

Once the dropdown list is on, if clicked anywhere else, the list should be dismissed automatically. It works most of the time. But if I click on somewhere that is inside a iframe area, then the dropdown will not be dismissed.

Is this a bug? or expected? Is there anyway to dismiss it?

Thanks!

miaoz2001 avatar Jan 19 '21 05:01 miaoz2001

An iframe's content is not really part of the parent page, so any events triggered within that content (like a mouse-click) don't propagate to the parent page. So, I would consider that "expected" behavior.

tiesont avatar Mar 15 '21 03:03 tiesont