Comments (3)
Hi, thank you for the clarification, as you suggested I ended up doing my on visual.
from powerbi-visuals-html-content.
Situations like this are one of the many reasons we can't reliably support JS in the visual (And why we officially don't). I have expanded on some of the challenges of this in #28 and #56. You can also refer to this comment for more details on how the DOM is updated by Power BI any time something happens on the canvas or outside the visual. Essentially, we can't stop things from being re-rendered, so you can't really maintain state across updates.
If you're trying to build something with JS, it's really a use case for building a proper custom visual, as you can define your own logic and statefulness within your visual's JS that is easier to manage than in a generic visual such as this one.
from powerbi-visuals-html-content.
Glad to hear you got your own visual working! I'll close this now that you have a resolution.
from powerbi-visuals-html-content.
Related Issues (20)
- [ENHANCEMENT]
- Export to PPT/PDF is not supported. Please enhance the visual to support export functionality HOT 1
- [BUG] Unable to load the visual in Power bi desktop, getting error "The content is blocked. Contact the site owner to fix the issue."
- [Accessibility] Allow scrolling with arrow key for keyboard users, support keyboard focus HOT 8
- I want to customize this visual for a specific use case. HOT 1
- [BUG] Sharepoint imagesURL stopped showing in PBI server HOT 3
- [ENHANCEMENT] Adjust Cursor Behavior in HTML Visual HOT 1
- Iframe reload on click HOT 2
- [ENHANCEMENT] HOT 2
- [EMBED] Website no opening on Power BI HOT 1
- [BUG] Can't delete the visual from the repot canvas HOT 1
- [BUG] Text limit for HTML Text HOT 4
- [BUG] class attribute does not pass sanitization in certified visual
- Support for pyodide [ENHANCEMENT] HOT 1
- Functionality <form> with Method Post HOT 2
- 'Export to PDF' currently not supported HOT 2
- iframe external webpages not loading from Aug 29, 2023 in Power BI. HOT 8
- [BUG] Unable to use Segoe (Bold) or DIN HOT 10
- [BUG] The link is malformed: #Top HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerbi-visuals-html-content.