Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Make isLastItem inset optional #7

@readeral

Description

@readeral

Hi there,

It would be great if the following condition was optional:

if(this.isLastItem)
        {
            classList.push('comm-drilldown-navigation__list-last');
        }

maybe with an @api ignoreLastItemInset

if(this.isLastItem && !this.ignoreLastItemInset)
        {
            classList.push('comm-drilldown-navigation__list-last');
        }

This is especially felt on small menus where the menu is aligned left, there is never a chance the right-most menu item will be at the edge of the window.

Happy to make a PR if acceptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions