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

Cannot find way of collapsing pane #15

Open
brandonbryan12 opened this issue Mar 20, 2016 · 1 comment
Open

Cannot find way of collapsing pane #15

brandonbryan12 opened this issue Mar 20, 2016 · 1 comment

Comments

@brandonbryan12
Copy link

I've been searching for a way to collapse the pane when the SlidingLayout is created. I've tried to call the collapsePane method, but that isn't working. I've searched through the source and haven't found anything that will work for this situation.

Someone created this stackoverflow thread last year and fixed the issue. Too bad he didn't post the solution :/ https://stackoverflow.com/questions/31354102/how-to-set-slidingpanel-default-state-collapse-and-collapse-panel-min-height

Perhaps someone could help me out?

@brandonbryan12
Copy link
Author

I accomplished this a very "hacky" way. I animated the panel to the bottom and it collapsed and changed its state. If anyone has a better way I'm all ears. I'm sure there is a better way

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

1 participant