-
-
Notifications
You must be signed in to change notification settings - Fork 828
Allow persistent resizing of the widget app drawer #5138
Conversation
Using flexboxes removes the need for pixel constants, and the app content now resizes to fill the tiles. Signed-off-by: Pauli Virtanen <pav@iki.fi>
The event coordinates are document coordinates, so the offset they are compared to should also be the document one. Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Pauli Virtanen <pav@iki.fi>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks reasonable, just a few questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me! 😄
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@t3chguy is there anything we can do to make the timeline position persist while resizing? It feels really strange now where resizing widgets to increase their height also impacts the timeline view, where it'd be better if the scroll position persisted.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
… to skip onScroll handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have looked at scroll panel and resize notifier changes, and that looks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feeling good, thanks!
Supercedes #4493
Fixes element-hq/element-web#6785
Demo at https://riots.im/adhoc/dpsah-widgets-resizing4/