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
I found a workaround:
Go to node_modules>react-transitions>dist>index.js and remove or comment out line position: 'absolute', under childWrapperStyle.
Edit: removing inline-block helps too.
Edit2: previous workaround causes problems that next page does not 'push' previous away.
Better solution is to add left:0,top:0 to childWrapperStyle and to _react2.default.createElement(..) (around 90th line)
Would you show some snippets so that I could try to help out? On the demo page there is a text block, a "Hi, there" string, being centered. Giving a look at its source may help.
Any way to center animated children?
Tried with margin: auto on ReactTransistions and parent element, but it does not work...
The text was updated successfully, but these errors were encountered: