Skip to content

Commit 15d77e8

Browse files
committed
fix: crash UI - remove transiongroup
1 parent b4d75dd commit 15d77e8

File tree

1 file changed

+13
-29
lines changed

1 file changed

+13
-29
lines changed

packages/webui/src/client/ui/RundownView.tsx

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3047,35 +3047,19 @@ const RundownViewContent = translateWithTracker<IPropsWithReady, IState, ITracke
30473047
<NotificationCenterPanel filter={this.state.isNotificationsCenterOpen} />
30483048
)}
30493049
</VelocityReact.VelocityTransitionGroup>
3050-
<VelocityReact.VelocityTransitionGroup
3051-
enter={{
3052-
animation: {
3053-
translateX: ['0%', '100%'],
3054-
},
3055-
easing: 'ease-out',
3056-
duration: 300,
3057-
}}
3058-
leave={{
3059-
animation: {
3060-
translateX: ['100%', '0%'],
3061-
},
3062-
easing: 'ease-in',
3063-
duration: 500,
3064-
}}
3065-
>
3066-
{!this.state.isNotificationsCenterOpen && (
3067-
<SelectedElementsContext.Consumer>
3068-
{(selectionContext) => {
3069-
if (selectionContext.listSelectedElements().length === 0) return null
3070-
return (
3071-
<div>
3072-
<PropertiesPanel />
3073-
</div>
3074-
)
3075-
}}
3076-
</SelectedElementsContext.Consumer>
3077-
)}
3078-
</VelocityReact.VelocityTransitionGroup>
3050+
3051+
{!this.state.isNotificationsCenterOpen && (
3052+
<SelectedElementsContext.Consumer>
3053+
{(selectionContext) => {
3054+
if (selectionContext.listSelectedElements().length === 0) return null
3055+
return (
3056+
<div>
3057+
<PropertiesPanel />
3058+
</div>
3059+
)
3060+
}}
3061+
</SelectedElementsContext.Consumer>
3062+
)}
30793063
<VelocityReact.VelocityTransitionGroup
30803064
enter={{
30813065
animation: {

0 commit comments

Comments
 (0)