trimble-oss / modus-web-components

This library provides Modus components as web components - reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site).
https://modus-web-components.trimble.com/
MIT License
34 stars 70 forks source link

Pagination > .page select - Figma component width #2848

Open Parrtist opened 1 month ago

Parrtist commented 1 month ago

Prerequisites

Describe the issue

In Figma, when you have fewer than 5 total pages, the next arrow button in pagination does not adjust position so it is next to the last page. See screenshot: image

Reduced test cases

Within the "pagination" component, set the ".page select" component's width to "hug"

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

No response

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

No response

Priority

Medium

What product/project are you using Modus Components for ?

Trimble Unity Maintain

What is your team/division name ?

O&PS

Are you willing to contribute ?

Maybe

Are you using Modus Web Components in production ?

This is the plan but the feature has not been released

github-actions[bot] commented 1 month ago

Hello @Parrtist! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

prashanth-offcl commented 1 month ago

@mitch-trimble Can you take a look at this? If I understand correctly, the issue is related to Modus Figma mocks and not Modus web components. @Parrtist Please correct me if I'm wrong.

PS: The web component doesn't show the arrows when there are less than 8 pages.