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

Change dark overlay opacity with animation #33

Closed
Shamsiddin opened this issue May 31, 2018 · 7 comments
Closed

Change dark overlay opacity with animation #33

Shamsiddin opened this issue May 31, 2018 · 7 comments

Comments

@Shamsiddin
Copy link

Hi,
I configured FAPanel to show dark overlay when left panel position is front
configs.showDarkOverlayUnderLeftPanelOnTop = true

But this overlay view appears/disappears without animation. I want to animate it's opacity depending on the left panel's distance from the edge (or while moving left panel with the finger).

How can I achieve this?
Thanks.

Shamsiddin referenced this issue in alirafiq40/FAPanels Jun 1, 2018
@Shamsiddin
Copy link
Author

Shamsiddin commented Jun 1, 2018

Hi @SeNeO
I used this code snippet:

rootController.leftPanelPosition = .front
rootController.configs.showDarkOverlayUnderLeftPanelOnTop = true

But darkOverlayView appearing/disappearing immediately(without opacity animation) when you leave your finger. Is it possible to make it appear/disappear with fade animation (smoothly)?

@usmantarar51
Copy link

Hi @Shamsiddin i appreciate this suggestion you made, working on it!

@fahidattique55
Copy link
Owner

@usmantarar51

Can you please tell me how much time you anticipate more for this feature to be integrated in FAPanels ?

@usmantarar51
Copy link

Will give you a update soon.

@fahidattique55
Copy link
Owner

I have started working on this one as I have been receiving this feature requests from a lot of people. Lets do it 👍

@fahidattique55 fahidattique55 self-assigned this Aug 24, 2018
@huanglins
Copy link

Is it ready for use?

@fahidattique55
Copy link
Owner

Yes, it's ready to use. Please install latest code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants