Description
🐛 Bug Report
When a fast button is in disabled state click events on it are still propagated up the parent hierarchy.
This may be releated to #4698 and #4137, but since the observed behaviour does not affect the event listeners on the fast element, but the event propagation I am creating this separate issue.
The issue propably affects other input elements as well, but I only tested this on fast button for now.
💻 Repro or Code Sample
See https://skaempfer.github.io/fast-button-click/ for a behaviour comparison between native button element and fast-button element
🤔 Expected Behavior
Fast button element behaves like native button element: When in disabled state, fast-button elements do not propagate click events up their parent hierarchy. This should be in accordance with the HTML spec: "A form control that is disabled must prevent any click events that are queued on the user interaction task source from being dispatched on the element." (Source)
😯 Current Behavior
When you click on an disabled fast button any click listener on the element is not triggered, but the click event bubbles up the parent hierarchy.
💁 Possible Solution
The fast button element wraps a native button element. To behave like its native counterpart the fast button should make a descision on blocking or allowing event propagation based on the disabled state of the wrapped button element.