Support Article
MultiSelect control dropdown moves along when scrolling screen
SA-63133
Summary
The displayed pop up does not persist on the screen and moves along when scrolling the screen.

Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Add a MultiSelect control in a section
- Run the flow. A pop up displays
- Scroll the screen
Root Cause
An issue in the custom application code or rules.
Resolution
Perform the following local-change:Add the below script to the UserWorkForm:
<script>
var prevTop = 0;
var newTop;
$(".home-header-main > .item-2").scroll(function() {
debugger;
if($(".MultiSelect.popover_multiselect-list") && $(".MultiSelect.popover_multiselect-list").length > 0){
var amountScrolled = 0;
var currentScrollTop;
if($(".home-header-main > .item-2"))
currentScrollTop = $(".home-header-main > .item-2").scrollTop();
if(prevTop !== currentScrollTop) {
amountScrolled = currentScrollTop - prevTop;
prevTop = currentScrollTop;
}
newTop = parseInt($(".MultiSelect.popover_multiselect-list").css("top")) - amountScrolled;
$(".MultiSelect.popover_multiselect-list").css("top",newTop);
}
});
</script>
Tags:
Published August 30, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.