-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap RoomList to react-beautiful-dnd #6008
Conversation
Includes themeing See matrix-org/matrix-react-sdk#1711
5fd7d71
to
3481283
Compare
// lastTargetRoom: null, | ||
// lastYOffset: null, | ||
// lastYDelta: null, | ||
getStyle(isDragging) { |
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.
can we apply this style via a CSS class rather than hardcoding it in here, in order to make it skinnable/themable?
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.
I don't see why not, actually. I was persuaded by the library examples that all did it this way but there's no obvious advantage.
lgtm other than the theming point (and failing tests). very exciting!!!! |
Theres no benefit to using inline styles
The failing tests are travis being travis and not starting chrome: travis-ci/travis-ci#8836. I shall add |
lgtm |
Includes themeing
See matrix-org/matrix-react-sdk#1711