In addition, I will explain why trigger was changed to click.
In the current state, the value from the data attribute is not used and the behavior is exactly like click, that is, it opens on the first click, and closes on the second click.
If use focus, then something strange turns out in general - it opens on the first click, and you can close it only if you click the second time and additionally again in another place, although in theory it should close on the second click in another place.
@tabuna Do you have a problem with trigger focus and how should I proceed?
Proposed Changes
bs
in popover data attributes.In addition, I will explain why
trigger
was changed toclick
.In the current state, the value from the data attribute is not used and the behavior is exactly like
click
, that is, it opens on the first click, and closes on the second click.If use
focus
, then something strange turns out in general - it opens on the first click, and you can close it only if you click the second time and additionally again in another place, although in theory it should close on the second click in another place.@tabuna Do you have a problem with trigger
focus
and how should I proceed?