Confirmation: Button 'jumps' when positioned before or after #1406
Labels
Focus: component
Issues concerning a specific component
Target: latest
Issues related to the latest version of the library (master)
Type: bug
An implemented item with undesired effects
When the overlay position is before or after, the button jumps when the overlay is displayed the first time. This is happening because
.ts-confirmation
haspadding: spacing()
but that class isn't on the page until the button is clicked for the first time.Technically speaking, the same thing occurs when the overlay is above or below, but the increased padding does not affect the positioning of the button.
Solution:
The component has
padding: spacing()
set for the classts-confirmation
but it should really be on classts-confirmation-overlay__panel
The text was updated successfully, but these errors were encountered: