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
32 stars 66 forks source link

Button Group Events Wrong #2500

Open kuhnboy opened 3 months ago

kuhnboy commented 3 months ago

Prerequisites

Describe the issue

The button group DOM Events (https://modus-web-components.trimble.com/?path=/docs/components-button-group--default) are documented as:

These aren't correct as they should be:

What's interesting though is 'buttonClick' does fire but doesn't have any event data.

Finally, it is a deviation from most other functionality to have a HTML element be included in the DOM event, which it is for both buttonGroupClick and buttonSelectionChange. It adds fragility when working with frameworks.

Reduced test cases

No response

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

No response

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

No response

What is the issue regarding ?

Modus Web Components Website (Storybook)

What version of npm package are you using ?

0.27.0

Priority

Low

What product/project are you using Modus Components for ?

ModusBlazor

What is your team/division name ?

AECO

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

github-actions[bot] commented 3 months ago

Hello @kuhnboy! 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.