Semantic-Org/Semantic-UI-React
Auf GitHub ansehenbug: [Popup] doesn't take into account popper's attributes, only styles
Open
#4.488 geöffnet am 24. Juli 2024
buggood first issue
Beschreibung
Bug Report
state.attributes.popper aren't applied to the popup wrapper div, only state.styles.popper are.
Steps
- Use
Popupcomponent with default props and modifiers (which includehideby default) andon="click". - Open the popup by clicking the trigger.
- Scroll the trigger out of the viewport.
Expected Result
The popup wrapper div gets the attributes data-popper-escaped and data-popper-reference-hidden from the default hide modifier.
Actual Result
No attributes are added to the div.
Version
2.1.5