Skip to content
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

composeBox, iOS: Fix msg input is not scrolled on typing. #3713

Closed
wants to merge 2 commits into from

Conversation

jainkuniya
Copy link
Member

No description provided.

…eachable."

This reverts commit 3574b12.

This was not a right fix, it introduced zulip#3614.
So reverting it. Also see futher commit for right fix.
Now max height is set to composeBox, so when msg input expands it takes
all the space available in the parent and pushes topic input outside.

The workaround of this is to set position of topic input absolute and
adjust position of msg input accordingly with the help of marginTop.

Fixes: zulip#3614
@@ -31,6 +31,9 @@ const componentStyles = StyleSheet.create({
flex: 1,
flexDirection: 'column-reverse',
},
composeBox: {
maxHeight: '60%',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relative max height, so we don't have to worry about split screen.

@gnprice
Copy link
Member

gnprice commented Dec 9, 2019

Closing this. As described on #3614, the next step on this issue needs to be that we do some work to understand what's actually going wrong here.

If something were really seriously wrong from a user perspective and we had a hack that made it a lot better, then we'd certainly be open to merging the hack while we investigated the underlying cause. But that's what we've already done on this issue, with #3595 fixing #3369. This new hack is rather messier than the one we have, and it introduces new user-facing problems. It's time to focus on fixing the actual issue.

@gnprice gnprice closed this Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants