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

Setting height of DockerState to percentage of screen height #24

Open
SirBenedick opened this issue Aug 1, 2019 · 1 comment
Open

Comments

@SirBenedick
Copy link

Is it possible to set the height of each as a percentage?
At the moment we set "distanceTop", "dockedHeight" and "minimumHeight" as pixel.

If it is not possible how can we help you implement it?

@SirBenedick
Copy link
Author

As far as I understand within the file "ion-bottom-drawer.ts" the methods:
_setDrawerState
_handleTopPanEnd
_handleDockedPanEnd
_handleBottomPanEnd
_handlePan
would need to be adjusted

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