You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way of controlling what section of a page is visible to the end user. If you have multiple elements on a page and one of them are updated when the end user interacts with the page in some way. There is no way to jump or make the element that gets updated visible to the end user.
Describe the solution you'd like
It would be great if you could have the option of supplying Select-UDElement with an ID of a target element. Then when Select-UDElement is called it would bring the target element into view of the end user. I would like to be able to target New-UDCard, New-UDTable, New-UDGrid, and New-UDInput as the target elements that could be used.
Example: Select-UDElement -ID 'UDCard1' -view
Describe how this would improve your Universal Dashboard Quality of Life
This would improve the experience of my end users. Currently I have a dashboard where the end user performs a search and then chooses an object returned from their search. When they select an object it then updates information on a table that is lower down on the page and not visible. If the end user doesn't know they have to scroll down to the bottom of the page to see the table that gets updated then it seems as if nothing happens or that the dashboard did not work correctly.
Describe alternatives you've considered
I have attempted to make the following code work but was unsuccessful.
New-UDElement -Tag script -Attributes @{type="application/javascript"} -Content {
@"
var elmnt = document.getElementById("content");
elmnt.scrollIntoView();
"@ }
Is your Enhancement request related to a problem?
Currently there is no way of controlling what section of a page is visible to the end user. If you have multiple elements on a page and one of them are updated when the end user interacts with the page in some way. There is no way to jump or make the element that gets updated visible to the end user.
Describe the solution you'd like
It would be great if you could have the option of supplying Select-UDElement with an ID of a target element. Then when Select-UDElement is called it would bring the target element into view of the end user. I would like to be able to target New-UDCard, New-UDTable, New-UDGrid, and New-UDInput as the target elements that could be used.
Example: Select-UDElement -ID 'UDCard1' -view
Describe how this would improve your Universal Dashboard Quality of Life
This would improve the experience of my end users. Currently I have a dashboard where the end user performs a search and then chooses an object returned from their search. When they select an object it then updates information on a table that is lower down on the page and not visible. If the end user doesn't know they have to scroll down to the bottom of the page to see the table that gets updated then it seems as if nothing happens or that the dashboard did not work correctly.
Describe alternatives you've considered
I have attempted to make the following code work but was unsuccessful.
New-UDElement -Tag script -Attributes @{type="application/javascript"} -Content {
@"
var elmnt = document.getElementById("content");
elmnt.scrollIntoView();
"@ }
Additional context
Add any other context or screenshots about the Enhancement request here.
https://forums.universaldashboard.io/t/autofocus-on-input-fields-and-buttons/1364/17
The text was updated successfully, but these errors were encountered: