-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fixed makeUnPushable/unDroppable bug #229
Conversation
… and added a loading screen/overlay while waiting for view to mount
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.
See comments.
src/components/Header.js
Outdated
@@ -180,6 +182,10 @@ class Header extends Component { | |||
if (this.state.lastMsgTime !== this.props.message.time && this.props.message.text !== "") { | |||
this.setState({ snackOpen: true, lastMsgTime: this.props.message.time }); | |||
} | |||
if(shouldRender) { |
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.
This doesn't look like it is really the way that we should be doing this. Something is weird.
I removed the loading screen because I couldn't get it to work through the components state, so I want to take more time to figure out a fix for that. Also any white space that was added/remove in this commit was due to the auto formatter |
The way that render is working now isn't really the way we should be doing it. More investigation is needed. If you want to remove that part for now we can push the makeUnDrop/Pushable part. |
You also have some merge conflicts that need to be resolved. |
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.
Let me test this locally, but it looks fine.
… and added a loading screen/overlay while waiting for view to mount