This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321
stars
53
forks
source link
[Feature]: Navigation Control | Make Selected Item Visible #387
Is this request for a new component, or additional functionality for an existing component?
Additional functionality.
Have you validated that your desired feature or component is not already in the backlog?
Yes, I could not find anything.
Describe the component and functionality you would like to see in the starter kit
I am using the Nav control to display a list of all Unique items for a user. The list has ~20 items in it and scrolls. The Nav has a variable, ctxHSChSelKey, assigned to the SelectedKey property. Depending on a user's action the app can change the value of the SelectedKey variable. This will change the currently selected item in the Nav control, which is great. But, if the selected item is not visible, the user cannot see the selected item. What I would like is a way of scrolling the selected item into view. With an InputEvent like "ScrollToActive" or something similar. Auto scrolling to the active item when the SelectedKey is changed is another option. InputEvent is likely a better choice as it gives the developer more control.
Describe alternatives you've considered
There are none other than using a different control completely.
Thanks for the feedback @sperry1625, I agree this would greatly enhance the experience of Nav. We'll consider this in our planning and try to prioritize.
Is this request for a new component, or additional functionality for an existing component? Additional functionality.
Have you validated that your desired feature or component is not already in the backlog? Yes, I could not find anything.
Describe the component and functionality you would like to see in the starter kit I am using the Nav control to display a list of all Unique items for a user. The list has ~20 items in it and scrolls. The Nav has a variable,
ctxHSChSelKey
, assigned to theSelectedKey
property. Depending on a user's action the app can change the value of theSelectedKey
variable. This will change the currently selected item in the Nav control, which is great. But, if the selected item is not visible, the user cannot see the selected item. What I would like is a way of scrolling the selected item into view. With anInputEvent
like "ScrollToActive" or something similar. Auto scrolling to the active item when theSelectedKey
is changed is another option.InputEvent
is likely a better choice as it gives the developer more control.Describe alternatives you've considered There are none other than using a different control completely.
Additional context N/A