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

Fix the composer being hidden by the keyboard by subscribing to top most report changes in ReportScreen #26283

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import ReportScreenContext from './ReportScreenContext';
import TaskHeaderActionButton from '../../components/TaskHeaderActionButton';
import DragAndDropProvider from '../../components/DragAndDrop/Provider';
import usePrevious from '../../hooks/usePrevious';
import withCurrentReportID from '../../components/withCurrentReportID';

const propTypes = {
ShogunFire marked this conversation as resolved.
Show resolved Hide resolved
/** Navigation route context info provided by react navigation */
Expand Down Expand Up @@ -396,6 +397,7 @@ export default compose(
withLocalize,
withWindowDimensions,
withNetwork(),
withCurrentReportID,
ShogunFire marked this conversation as resolved.
Show resolved Hide resolved
withOnyx({
isSidebarLoaded: {
key: ONYXKEYS.IS_SIDEBAR_LOADED,
Expand Down