-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stickybox vertical/horizontal based on screen wide #194
Comments
@davidfischer is probably better to answer this one. |
The stickybox only floats at >1300px wide. Otherwise, it's supposed to collapse back to a static placement wherever you put the div (sidebar?). The stickybox can be used with the |
I'm not using the In the tests I've done, I found that it display nicer and that's why I opened this issue here (look the example from the description) |
The sticky box is only intended to be used at widths >1300px. On widths less than that, it collapses into a static placement. |
Yes, my question is: when it collapses into a static placement, can it use the |
That isn't automatic and if you just set |
Yeah, that's what I realized while doing my tests. I'd like to change that behavior that's why I opened this issue here. Would that be a feature you accept in the client? Another approach could be the ad client to trigger an event when it collapses. That way, I can subscribe to that event and add Does this make sense? |
I don't like magically making something not horizontal (or making it horizontal) when there's a class that says the opposite. It seems not explicit. |
Sounds like an event is perhaps the best option? But I think in general most folks aren't resizing windows, and we just need to default the right styles based on page width 🤔 |
While working with stickybox I found that I'd like to have the vertical ad when it's floating in the bottom right (wide screen), but horizontal when it's injected at the bottom of the main content (narrow screen):
I think it makes the ad to display nicer and more adapted to the content itself. Is this be a good idea? Would it be possible to communicate this to the ad client?
The text was updated successfully, but these errors were encountered: