HomePhabricator

fix column resizing in run view

Authored by prha on Tue, Aug 13, 11:58 PM.

Description

fix column resizing in run view

Summary:
The HTML5 attribute draggable on a styled component container was causing the mouseup event to get swallowed up. Renaming the prop (used to key dynamic styles) caused the mouse events to fire as expected.

Refactored some of the document listeners so that they are tied to the component
lifecycle, instead of to UI events.

Issue: https://github.com/dagster-io/dagster/issues/1637

Test Plan: Resized columns in Firefox/Safari/Chrome.

Reviewers: #ft, bengotow, alangenfeld

Reviewed By: bengotow

Subscribers: alangenfeld, max

Differential Revision: https://dagster.phacility.com/D792

Details

Committed
prhaWed, Aug 14, 12:17 AM
Reviewer
bengotow
Differential Revision
D792: fix column resizing in run view
Parents
R1:e51ac849fc83: Actually preserve the original config dict
Branches
Unknown
Tags
Unknown