Skip to content
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

HTML Widget display overflow #271

Open
bernietai opened this issue Jan 4, 2021 · 4 comments
Open

HTML Widget display overflow #271

bernietai opened this issue Jan 4, 2021 · 4 comments

Comments

@bernietai
Copy link

HTML Widget does not enable scrolling for overflowing content.

@aderici
Copy link

aderici commented Jan 15, 2021

hi @bernietai . I guess in dashboards like this it may not make sense to rely on in-widget scrolling even if the widget supports this. First of all this is intended for tv right? who is going to scroll that?

I'd suggest either modify the widget interior to auto fit the container or some js to auto scroll contents periodically to give tv viewers some chance to catch.

Would you like to share more details on your use case?

@bernietai
Copy link
Author

bernietai commented Jan 16, 2021

See example - HTML content is cut-off at the bottom - it makes sense to automatically make content scrollable if content exceed HTML widget height. 👇

IMG_0048

There are use cases that involve browser and scrolling. I'm using it as a dashboard on ipad and ocassionally scroll up or down

@aderici
Copy link

aderici commented Jan 16, 2021

I see, can i assume you are using the online version thats provided on freeboard.io?

Here's a little thing that should help you. Have you seen the "Developer Console" on the admin menu on top?

image

Click there and add the following url. After clicking ok you should now have a new widget called HTML Scrollable and that should do the trick.

https://gistcdn.githack.com/aderici/b4e0f560c440dbcce02a5c5f423fe81f/raw/freeboard_widget_html_scrollable.js

Hope this helps,

@bernietai
Copy link
Author

I'm using the open source setup locally for testing. So, not using the online version.

Thank you for the JS. will check out your version of the HTML widget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants