Describe the bug
endContent in Breadcrumbs is rendered twice in the DOM (measurement pass + visible pass), causing any interactive content placed there to be duplicated. This leads to two dialogs opening simultaneously on a single button click. As a side effect, data-qa attributes on elements inside endContent are also duplicated, causing tests that query by data-qa to find multiple elements and fail.
Reproduction
https://stackblitz.com/edit/gravity-ui-uikit-example-96cxtdwr?file=src%2FApp.css,src%2FApp.tsx
Steps to reproduce
- Click the "Open Dialog" button inside the breadcrumbs
- Observe that two dialogs open simultaneously — the counter inside the dialog shows Open modals count: 2
Environment
@gravity-ui/uikit@^7.33.0
Validations
Describe the bug
endContentin Breadcrumbs is rendered twice in the DOM (measurement pass + visible pass), causing any interactive content placed there to be duplicated. This leads to two dialogs opening simultaneously on a single button click. As a side effect,data-qaattributes on elements insideendContentare also duplicated, causing tests that query bydata-qato find multiple elements and fail.Reproduction
https://stackblitz.com/edit/gravity-ui-uikit-example-96cxtdwr?file=src%2FApp.css,src%2FApp.tsx
Steps to reproduce
Environment
@gravity-ui/uikit@^7.33.0
Validations