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
As you can see the transform up-6 is conditionally added based on the prop positionTop. When first displaying the icon, everything is rendered in the same place, but clicking a button to change the positionTop property does not redraw the icons so they show in the correct position
Describe the bug
I have some icons in a layered icon to depict the position of some elements. It looks like this:
The transforms on it move the position of the arrow and ellipsis icon. Here are the computed functions:
As you can see the transform
up-6
is conditionally added based on the proppositionTop
. When first displaying the icon, everything is rendered in the same place, but clicking a button to change thepositionTop
property does not redraw the icons so they show in the correct positionReproducible test case
The problem can be seen here:
https://codesandbox.io/s/vuejs-font-awesome-1--getting-started-forked-ueu4b
If you manually change
App.positionTop
to true or false, you'll see the icons move where they are suppose toExpected behavior
When the
positionTop
prop value changes, the position of the icons should change as well.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: