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

Tooltips are not dismissing on Safari #41

Open
salonmonster opened this issue Jun 17, 2018 · 2 comments
Open

Tooltips are not dismissing on Safari #41

salonmonster opened this issue Jun 17, 2018 · 2 comments
Labels

Comments

@salonmonster
Copy link

salonmonster commented Jun 17, 2018

I'm finding that the tooltips are not dismissing on Safari Version 11.1 (13605.1.33.1.4)

When you hover over a tooltip they do not dismiss afterwards. They stay there until you reload the page.

To replicate run your mouse over a tooltip trigger multiple times and after a few times the tooltip will no longer dismiss.

They are dismissing correctly on Chrome and Firefox, it is a browser specific issue.

A sample of the code I am using is:

<ion-split-pane>
  <ion-menu [content]="content" [swipeEnabled]="false" type="overlay">
    <ion-content #content>
      <ion-list no-lines margin-top>
        <button ion-item (tap)="openPage('BookingCalendarPage')" [tooltip]="!menuCollapsed ? '' : 'Bookings'" event="hover" positionH="right" arrow=true duration=100>
          <ion-icon name='calendar' item-left active="true"></ion-icon><span *ngIf="!menuCollapsed">Bookings</span>
        </button>
        <button ion-item (tap)="openPage('ClientDirectoryPage')" [tooltip]="!menuCollapsed ? '' : 'Clients'" event="hover" positionH="right" arrow=true >
          <ion-icon name='person' item-left></ion-icon><span *ngIf="!menuCollapsed">Clients</span>
        </button>
      </ion-list>
    </ion-content>
  </ion-menu>
</ion-split-pane>

Has anyone else experienced this?

Thanks

@salonmonster
Copy link
Author

Ok, found the specific cause:

The tooltips won't dismiss when they are applied to a button with the ion-item directive applied.

If you remove the ion-item directive they will work correctly in Safari.

@jrquick17
Copy link

In the updated project this works. Check it out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants