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

React Enhanced Power Apps: Flexible Height #1674

Open
FabianAckeret opened this issue Jan 21, 2021 · 2 comments
Open

React Enhanced Power Apps: Flexible Height #1674

FabianAckeret opened this issue Jan 21, 2021 · 2 comments
Assignees

Comments

@FabianAckeret
Copy link

FabianAckeret commented Jan 21, 2021

I really love the enhanced Power Apps webpart, so first of all a big THANKS for developing it.

Sample

react-enhanced-powerapps (https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-enhanced-powerapps)

Author

Hugo Bernier

Suggestion

If the content of your Power Apps doesn't fit into that defined height of the web part, a second scrollbar appears (1st scrollbar: the one from the browser/SharePoint page and 2nd scrollbar: the one that appeared in the embedded Power Apps).
It would be super amazing if there would be a feature to define "flexible height" based on the screen height. If, say, the SharePoint page would get more height depending on the content that is in Power Apps, we wouldn't get that ugly second scrollbar for the app.
Despite the suggestion to have Scale to fit on, I turned it off (and replicated responsive design by myself).

@FabianAckeret FabianAckeret added the type:enhancement Idea for enhancing a sample label Jan 21, 2021
@ghost
Copy link

ghost commented Jan 21, 2021

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@hugoabernier
Copy link
Collaborator

@FabianAckeret great idea. I'll investigate a way to do it and will try to submit the updated sample as soon as I get an opportunity.

@hugoabernier hugoabernier changed the title Flexible Height React Enhanced Power Apps: Flexible Height Jan 23, 2021
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

2 participants