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

In the Spotify style, the Cancel button obscures the following option #148

Open
Jackmaliao opened this issue May 3, 2021 · 1 comment
Open

Comments

@Jackmaliao
Copy link

Hello, I like the XLActionController you made very much, but I found a problem during using it.
I opened the Example Project downloaded from GitHub and ran the Spotify example file. I noticed that the Cancel button blocked the options behind it and I had to scroll up the view to see the options below, which was different from the demo GIF. I also had this problem when I was writing code myself.I didn't know how to solve the problem.

I'm using Xcode version 12.5 and XlActionController version 5.1
simulator_screenshot_F5F09621-2751-439D-82A5-E9414F3BBFA3

@cecipirotto
Copy link
Contributor

Hello, this behavior is designed so on purpose (the idea is to simulate the behavior of Spotify). I'll update the GIF, thanks for letting us know!

If you want to change this behavior you can set the flag hideCollectionViewBehindCancelView to false. In the example project, on SpotifyActionController class in the init is setting to true.

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

No branches or pull requests

2 participants