Skip to main content
1-Visitor
November 30, 2021
Solved

How do popovers slide up and down

  • November 30, 2021
  • 1 reply
  • 1958 views

Now I have a project, I need to add many contents in the popover, but the contents are a little too much, which exceeds the maximum range of the set screen. Could you define the contents in the popover and drag them up and down to browse? thank you

Best answer by RolandRaytchev

Hi @chen ,

 

on mobile project  I have an example of popup widget with a long list of buttons:

 

2021-12-01_13-59-36.jpg

The effect is that we can scroll the button to select the correct color

popup widget as floating and using there the following class defintion:

.popup-colors{
 border: 20px inset LemonChiffon;
 background-color:rgba(255,255,255,0.15); 
 overflow-y:scroll;
 z-index:10;
 border: 10px inset rgba(255,250,205,0.35); 
}

 

1 reply

21-Topaz I
December 1, 2021

Hi @chen ,

 

on mobile project  I have an example of popup widget with a long list of buttons:

 

2021-12-01_13-59-36.jpg

The effect is that we can scroll the button to select the correct color

popup widget as floating and using there the following class defintion:

.popup-colors{
 border: 20px inset LemonChiffon;
 background-color:rgba(255,255,255,0.15); 
 overflow-y:scroll;
 z-index:10;
 border: 10px inset rgba(255,250,205,0.35); 
}

 

chen1-VisitorAuthor
1-Visitor
December 2, 2021

1638425702(1).png1638425783(1).png

Am I doing this right?