bootstrap
bootstrap copied to clipboard
Popovers are closed even if popover-trigger is 'none'
Edit: oops, i just saw the need for maintainers. Well, thats unfortunate but understandable, thanks a lot to all contributors!
Bug description:
Is it normal that even with popover-trigger="'none'"
tooltips are closed on ESC key?
Reading the code, it seems impossible to cancel this behavior.
Can an option be added? Our use case is that the user needs to read the information and click a "Dismiss" button, where a preference is saved for it to never appear again.
I can PR if need be its pretty simple.
Version of Angular, UIBS, and Bootstrap
Angular: 1.6.1
UIBS: 2.2.0
Bootstrap: 3.3.7
This sounds like an easy feature - a PR would be good
Do you want to use the option triggers.indexOf('none')
? If yes, this will change the current behavior..
Ah sorry - I think triggers === 'none'
might do the job.
use none with an apostrophe like so
popover-trigger="'none'"