-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: can slide item even without option buttons #5192
Comments
I had the same problem. As temporary fix you could remove |
@brandyscarney I think this should be fixed in my PR. I will test more in detail. |
@brandyscarney @adamdbradley before finding a fix for this, I am not sure how an empty I agree, Maybe it should be refactored to: <ion-item-options *ngIf="segment === 'all'">
<button favorite (click)="addFavorite(slidingItem, session)">
Favorite
</button>
</ion-item-options> I think an empty |
@manucorporat That makes sense actually. I swear at one point that didn't work...I imagine I would've tried that haha. I'm ok with moving the |
If there is a
*ngIf
on a button inion-item-options
then when the ngIf evaluates to false you can still swipe the item and see an empty white space:& if you put it on the
ion-item-options
you can't slide at all even when it evaluates to true.image:
The text was updated successfully, but these errors were encountered: