Skip to content

Conversation

@JoaoPinhoMinder
Copy link
Contributor

@JoaoPinhoMinder JoaoPinhoMinder commented Feb 5, 2025

Ticket

https://mindera.atlassian.net/browse/ALFMOB-61

Description

Converted sheet that shows product details to a draggable view that mimics the same behaviour, since the bottom sheet was causing some navigation bugs.

@JoaoPinhoMinder JoaoPinhoMinder force-pushed the techdebt/ALFMOB-61-refactor-pdp-screen-details-to-use-scroll-view branch 10 times, most recently from 0bb6b4a to 7a9e2a5 Compare February 7, 2025 12:34
@JoaoPinhoMinder JoaoPinhoMinder force-pushed the techdebt/ALFMOB-61-refactor-pdp-screen-details-to-use-scroll-view branch 3 times, most recently from 586c5a6 to 109f0b3 Compare February 14, 2025 09:38
Converted sheet that shows product details to a draggable view that mimics the same behaviour, since the bottom sheet was causing some navigation bugs.
@JoaoPinhoMinder JoaoPinhoMinder force-pushed the techdebt/ALFMOB-61-refactor-pdp-screen-details-to-use-scroll-view branch from 109f0b3 to 4718fe0 Compare February 14, 2025 09:39
}

@ViewBuilder private var pdpView: some View {
// TODO: Check why iPad uses a different view

Choose a reason for hiding this comment

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

Hey 👋 @p4checo asked me to take a look and help.
The reason why we had a different view for iPad and iPhone pre iOS 16.4 is:

  • iPhone only supports sheets with detents starting on iOS 16.4
  • iPad does support them but sheets in general on iPad are nothing like the ones on iPhone and so we just decided to not to use it and keep it as a simple ScrollView. But there were no other blockers or particular reasons :)

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