-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug] [$250] Android - Invite members - Invite message text box disappears when select emoji picker #10609
Comments
Triggered auto assignment to @nkuoch ( |
Lol. Good catch... |
Triggered auto assignment to @adelekennedy ( |
ProposalThis is the SolutionWe have to make this behavior
We can't simply add the prop (
because undefined will be treated as height due to this line:
So, how to fix?
- keyboardAvoidingViewBehavior: PropTypes.oneOf(['padding', 'height', 'position']),
+ keyboardAvoidingViewBehavior: PropTypes.oneOf(['default', 'padding', 'height', 'position']),
import React, {useMemo} from 'react';
import BaseScreenWrapper from './BaseScreenWrapper';
import {defaultProps, propTypes} from './propTypes';
const ScreenWrapper = (props) => {
const keyboardAvoidingViewBehavior = useMemo(() => {
if (props.keyboardAvoidingViewBehavior === 'default') {
return undefined;
}
if (props.keyboardAvoidingViewBehavior !== undefined) {
return props.keyboardAvoidingViewBehavior;
}
return 'height';
}, [props.keyboardAvoidingViewBehavior]);
return (
<BaseScreenWrapper
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
keyboardAvoidingViewBehavior={keyboardAvoidingViewBehavior}
>
{props.children}
</BaseScreenWrapper>
);
};
defaultProps.keyboardAvoidingViewBehavior = undefined;
ScreenWrapper.propTypes = propTypes;
ScreenWrapper.defaultProps = defaultProps;
export default ScreenWrapper;
<ScreenWrapper keyboardAvoidingViewBehavior="default">
{children}
</ScreenWrapper> on android. Otherwise ResultScreen.Recording.2022-08-27.at.8.28.59.AM.mov |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @roryabraham ( |
Putting this on HOLD on #10273 |
Issue not reproducible during KI retests. (First week) |
this is on hold |
I removed the HOLD on this and assigned it to me because this is fixed in #11586 |
I don't think any payment is due, this was reported by applause and no proposals were accepted |
Issue not reproducible during KI retests. (Second week) |
No review was requested from me on the related PR. I am unassigning myself from it. let me know otherwise. |
let's remove the help wanted and External labels. |
Removed |
Issue not reproducible during KI retests. (Third week) @roryabraham Are we ok to close this? |
Wow, it's so weird that a lot of these are disappearing, even without my fix deployed. It's fine to close this. |
This issue is still reproducible. Please use Gboard for device input method. Before fix: before.mp4After fix: after.mp4 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Invite message text box is still visible when selecting the emoji picker
Actual Result:
Invite message text box disappears when selecting the emoji picker
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.92.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5705895_screen-20220826-224227.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: