Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot hover a popover when triggers set to hover #3854

Closed
lamberttraccard opened this issue Aug 12, 2019 · 7 comments · Fixed by #3908

Comments

@lamberttraccard
Copy link

commented Aug 12, 2019

Describe the bug

It's impossible to hover a popover when the trigger is set to hover.

Steps to reproduce the bug

  1. Hover the trigger
  2. Move cursor to the popover

Expected behavior

It's should be possible to hover a popover when the trigger is set to hover.

Versions

Libraries:

  • BootstrapVue: v2.0.0-rc.27
  • Bootstrap: 4.3.1
  • Vue: 2.6.10

Environment:

  • Device: Mac
  • OS: macOS Mojave
  • Browser: Chrome
  • Version: 75

2019-08-12 12 03 58

@tmorehouse

This comment has been minimized.

Copy link
Member

commented Aug 12, 2019

Add a delay to the popover (you can specify a show and hide delay). Then the popove will re-trigger itself to stay open when the mouse is moved over it.

@lamberttraccard

This comment has been minimized.

Copy link
Author

commented Aug 13, 2019

@tmorehouse I have already tried and it doesn't work.

@tmorehouse

This comment has been minimized.

Copy link
Member

commented Aug 13, 2019

Hmmm

A workaround would be to enable another trigger, such as focus

@lamberttraccard

This comment has been minimized.

Copy link
Author

commented Aug 16, 2019

Like you said a workaround :), it would nice if the behavior describe above could work out of the box. It seems natural to be able to hover the popover with any king of triggers.

@tmorehouse

This comment has been minimized.

Copy link
Member

commented Aug 16, 2019

I'll have to look into the code a bit deeper (it is basically a port of Bootstrap's official code) and see if we can extend teh hover triggering onto the popover element (and since it is share code with tooltip, tooltip element) itself.

@tmorehouse

This comment has been minimized.

Copy link
Member

commented Aug 24, 2019

PR #3908 should have this fixed (once it is completed and merged)

tmorehouse added a commit that referenced this issue Aug 28, 2019
@tmorehouse

This comment has been minimized.

Copy link
Member

commented Sep 7, 2019

BootstrapVue v2.0.0 stable has been released. See https://bootstrap-vue.js.org/docs/misc/changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.