I’m the founder of Mash and we have a number of widgets (e.g., components, iframes) that talk to each other, and embeddable in JS on almost any platform – donations per one-click, per page view, app run, and locking specific types of content with per use monetization. One of our users is trying to deploy the features on streamlit, but the formatting/result is behaving in a bizarre fashion.
We’re trying to figure out how to fix it, and then promote streamlit as a platform that Mash works for.
Code snippet:
We have a standard JS snippet and buttons/webcomponents that can be seen at. Mash (and floating widgets along with main mash button snippet) docs.mash.com
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Expected behavior:
It behaves as it does on other sites.
Actual behavior:
All the formatting. size of the iframes and components are not working.
Explain the undesired behavior or error you see when you run the code above.
If you’re seeing an error message, share the full contents of the error message here.
Part of the problem is when you click the Mash buttons, they popup other items so the iframe the Mash widget is in needs to be big, which causes scrolling issues.
I’ve removed the functionality for now, but here’s the code I used:
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.