Custom Action To Scroll-Down To A Specific Widget
Question
Would it be possible to add a scroll to a widget location action? So I have a top panel that has an action of: "navigate to Actions widget"?
Answer
You'll need to create a custom action and include something like:
var elmnt = document.getElementById("content"); //The widget to scroll to
elmnt.scrollIntoView();
https://www.w3schools.com/jsref/met_element_scrollintoview.asp
Published 10-19-2021
Community_Admin
Admin
Joined October 06, 2021