Forum Documentation Showcase Pricing Learn more

Vertical scrolling in a floating group?

#1

How could someone create something like this in Bubble:

A floating group with a scroll view. For like example sidebar… So it will fit on all screens etc.

0 Likes

Making an element fill view port height
#2


1 Like

#3

Thanks @Beau this is exactly what I needed :smiley:

0 Likes

#4

Only for some reason when you put a ‘data source’ it won’t work…

43

0 Likes

#5


seems to work fine for me.

0 Likes

#6

Hmm it didn’t scroll anymore because there was a repeating group in the side bar too with horizontal scrolling text… Without it works

0 Likes

#7

try add
overflow-x: scroll;

0 Likes

#8

Same, doesn’t work Update: It works now!

0 Likes

#9

nice!

2 Likes

#10

Could it be it doesn’t work with multiple groups in the floating group?

0 Likes

#11

Found why it didn’t work.

There are groups within the #inner if they change (hide or show) the group freeze and the floating group isn’t scrollable anymore. When I can this action again it’s working again:

Do you think there is a better way? Then calling the action every time…

0 Likes

#12

i havent really experimented with it much, i will test it out.

1 Like

#13

Youre right, need to run csstools every time. It needs to be the first action in the event to work again after page is resized. I couldnt manage to style the scrollbar, color, width etc.

when I added the collapse group it wouldnt reach bottom of page when resized, so i put a separate float group set to both behind it.


editor: https://bubble.is/page?type=page&name=scroll2&id=niceapp&tab=tabs-1
preview: https://niceapp.bubbleapps.io/version-test/scroll2

0 Likes

#14

Nice! Only for me it doesn’t work… Probably because of the hide element when X conditions

0 Likes

#15

this works for me

what are you hiding and showing & what condition?

0 Likes

#16

i just tried setting states it didnt work unless i set a condition for when state was true/false to do the 100% resize thing.


Its a bit hacky but should be able to achieve what you want.

0 Likes

Make a GroupFocus scrollable / dynamically adjust a GroupFocus height?
#17

Thanks will try it :slight_smile:

0 Likes

#18

Thanks @Beau! Any thoughts on getting this to trigger when a page is resized? My FG is always visible (unless the width gets really small)…so not changing a state really, but if the page height shrinks after page load, the scrollbar won’t show. Trying to think of a good workflow trigger…

0 Likes

#19

Answered my own question there, didn’t I. image

0 Likes

closed #20

This topic was automatically closed after 70 days. New replies are no longer allowed.

0 Likes