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

[Proposal]Fix timetable scrolling #109

Merged
merged 6 commits into from
Sep 4, 2022
Merged

Conversation

NUmeroAndDev
Copy link
Collaborator

@NUmeroAndDev NUmeroAndDev commented Sep 3, 2022

Issue

  • close #ISSUE_NUMBER

Overview (Required)

  • Changed to make it easier to scroll because diagonal scrolling is not possible with a combination of vertical scrolling and horizontal scrolling.
  • However, there is a issue that vertical nested scroll cannot be used because it is not scrollable when using detectDragGestures.

Links

Screenshot

Before After
device-2022-09-04-162628.mp4
device-2022-09-04-162530.mp4

@NUmeroAndDev NUmeroAndDev self-assigned this Sep 3, 2022
@takahirom
Copy link
Member

I cannot decide if this should be merged or not. 👀
If we merge this, the app will be difficult to handle the scroll like HorizontalPager or #103 , right?
@NUmeroAndDev If you have any idea to solve this. Please let me 🙏

@takahirom
Copy link
Member

Now, are we able to use HorizontalPager? If so, I would like to merge this PR!

@NUmeroAndDev NUmeroAndDev marked this pull request as ready for review September 4, 2022 07:29
@NUmeroAndDev
Copy link
Collaborator Author

The conflict with HorizontalPager has been resolved, but only nested scroll is not supported.
I haven't found a solution so far, so I'd like to ask for help from others.

) {
private val velocityTracker = VelocityTracker()
private val _scrollX = Animatable(initialScrollX)
private val _scrollY = Animatable(initialScrollY)
Copy link
Member

Choose a reason for hiding this comment

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

@takahirom takahirom merged commit 7a13b32 into main Sep 4, 2022
@takahirom takahirom deleted the fix_timetable_scrolling branch September 4, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants