Skip to content

bug: last ion-item-sliding should not have a border-bottom #28435

Description

@mrleblanc101

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

The last item has a border bottom if they are ion-item-sliding but not if they are ion-item.
Screenshot 2023-10-30 at 3 02 13 PM

Expected Behavior

The last item should not have a border bottom if they are ion-item-sliding, just like ion-item.
Screenshot 2023-10-30 at 3 02 06 PM

Steps to Reproduce

Make two inset list, one with ion-item-sliding and one with regular ion-item.
The ion-item-sliding one will have a border-bottom on the last element, while the ion-item list won't have a border-bottom on the last element.

Code Reproduction URL

https://stackblitz.com/run?file=package.json

Ionic Info

Ionic:

Ionic CLI : 7.1.1 (/Users/sleblanc/.nvm/versions/node/v16.19.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 7.5.0

Capacitor:

Capacitor CLI : 5.5.0
@capacitor/android : not installed
@capacitor/core : 5.5.0
@capacitor/ios : 5.5.0

Utility:

cordova-res : not installed globally
native-run (update available: 1.7.4) : 1.7.3

System:

NodeJS : v16.19.1 (/Users/sleblanc/.nvm/versions/node/v16.19.1/bin/node)
npm : 8.19.3
OS : macOS Ventura 14.1

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions