You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting more than one directional padding (e.g. setTopPadding(), setRightPadding()) on a single element, the second padding call overwrites the other previously set padding values to 'auto'. This behavior is unexpected and leads to inconsistent styling on the element.
Steps to Reproduce:
Set a directional padding on an element, for example: element.setTopPadding(10).
Set another directional padding on the same element, for example: element.setRightPadding(15).
Observe the padding values of the element.
Expected Behavior:
Each directional padding call should only affect its respective side without altering the previously set padding values on other sides.
Actual Behavior:
After the second directional padding call, the previously set padding values on other sides are overridden and set to 'auto'.
Additional notes:
if on one element a setPadding() is called after a directional padding setter, and after another directional setter is called, the second setter is able to receive the values set by setPadding() without turning them to "auto"
The text was updated successfully, but these errors were encountered:
When setting more than one directional padding (e.g. setTopPadding(), setRightPadding()) on a single element, the second padding call overwrites the other previously set padding values to 'auto'. This behavior is unexpected and leads to inconsistent styling on the element.
Steps to Reproduce:
Set a directional padding on an element, for example: element.setTopPadding(10).
Set another directional padding on the same element, for example: element.setRightPadding(15).
Observe the padding values of the element.
Expected Behavior:
Each directional padding call should only affect its respective side without altering the previously set padding values on other sides.
Actual Behavior:
After the second directional padding call, the previously set padding values on other sides are overridden and set to 'auto'.
Additional notes:
if on one element a setPadding() is called after a directional padding setter, and after another directional setter is called, the second setter is able to receive the values set by setPadding() without turning them to "auto"
The text was updated successfully, but these errors were encountered: