-
Notifications
You must be signed in to change notification settings - Fork 55
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
[BUG]: PowerCAT Creator Kit Command bar overflow issue while playing the app using a deeplink #447
Comments
@vivekmurli Are you using autowidth if the commandbar component in a layout container? Can you try using Parent.Width (or the appropriate relative sizing calculation based on its location in the tree) with autoWidth or stretch settings off? Are you using any logic otherwise that might be affecting the positioning/rendering of the component? |
@denise-msft We are not using containers. Also we're using a formula to adjust the width and X of the component like this Width: If( Didn't find any properties named autoWidth or stretch. Also the component fails only when the app is played using a deeplink and works fine while playing or edit mode not sure why? You should be able to reproduce the issue at your end by adding 13 items(3 words for each item) to the component and play the app via deeplink. I feel that the command bar should render correctly irrespective of the number of items it holds. Requesting you to look into it and let me know. |
@vivekmurli Can you please explain why you are setting these the width based on a variable that seems related to the presence of a deep link? First of all, what is the size of your canvas dimensions? If the control reaches outside of the canvas dimensions, the commandbar will not display the overflow within the canvas. You must make sure that the width of the commandbar is less than that of the canvas. When I increase the width of the commandbar the end is cut off and the rest is not visible outside of the screen. I haven't tried with a deeplink but it seems to be the behavior you described. If you're trying to span the commandbar across the screen horizontally (assuming that's what you're doing where you have the value So instead of the code you shared for width, try: |
@denise-msft Thank you for helping us out with this , like I've explained before , the issue is with and only with the deeplink. Like you can see the width of the command bar is less than the width of the canvas so essentially it shouldn't overflow. We have configured the on start of the app to detect if the app is being played using a deeplink or not. If the app is played normally , the deeplinkisnull variable would return null and the width of the command bar would be set to 500 which is much less than the width of the canvas which is 1600. So as per the logic , when the app is played using deeplink , the width is set to 500 then why does it overflow?. Also when you play the app without a deeplink , it works fine with its width being 1500. To get to the bottom of the issue , and the original issue which is deep linking ,You may have to create a deeplink , use the logic above and I am sure you should be able to reproduce the issue the way we did. The crux here is the use of deeplink. Please let me know if you need any other info from our end. |
@vivekmurli the Power Apps team has recently release the Toolbar control, which is the modern equivalent of the commandbar. Can you please validate whether that meets your needs, and if it runs into the same issue? |
We have a command bar that has 12 items , the command bar works as expected when we play the app in run and edit mode.
When we play the app using a deeplink , the ellipses (...) at the end disappears as below
Steps to reproduce the behavior:
We searched for a solution online to no avail.
Please let us know if this is a bug and if there is a workaround for this issue
AB#2231
The text was updated successfully, but these errors were encountered: