Skip to content

Conversation

@MozhganPeivandianSharbaf
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a scrolling issue on Samsung Galaxy Z Fold devices in landscape mode by replacing ScrollView with NestedScrollView and adding keyboard state restoration logic across orientation changes.

Key Changes:

  • Replaced ScrollView with NestedScrollView in the landscape layout, using proper ConstraintLayout constraints
  • Added keyboard state tracking and restoration for Android Q and below
  • Implemented a reusable showKeyboard() extension function

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
gps_fragment_payment_more_information.xml Replaced ScrollView with NestedScrollView and added ConstraintLayout positioning constraints
Extensions.kt Added showKeyboard() extension function for View to handle keyboard display across Android versions
ReviewBottomSheet.kt Implemented focus and keyboard state tracking/restoration with lifecycle-aware cleanup
ReviewFragment.kt Added keyboard state restoration logic for pre-Android R devices with proper cleanup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@obaidgini obaidgini left a comment

Choose a reason for hiding this comment

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

Hi @MozhganPeivandianSharbaf
Overall PR looks good 👌
There are small comments from my side, and I believe co-pilot comments are also valid, can you please take a look and resolve these? Thank you.

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.

3 participants