Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a report embedded on my website. It works fine, but when I click on a widget, e.g. a slicer, the first click seems to activate the slicer and a second click is then required to show the list of items in the slicer. I notice this does not happen on the demo pages (where only a single click is required):
https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#
I cannot see what is different between the demo page and my app. Can anyone tell me how to make it such that only a single click is required?
Solved! Go to Solution.
It seems this is caused by me requesting the report in mobile view. Switching to desktop view stop the second click issue.
I had chosen mobile view, as this view allowed the UI to switch between views (landscape/portrait) dynamically without having to reload the report. In desktop view if the user resizes the browser page, the report shrinks shrinks rather than switch between views.
HI @sliccster,
It sounds like a focus issue rather than embedded iframe itself. Your visualization contents has lost focus, so you need to click twice.(one click to active visual, second click choose item)
I think you can direct click on slicer items after first double click, right?
Regards,
Xiaoxin Sheng
If I click on one slicer it selects the slicer, the next clicks allows me to use the slicer. If I click the background of the report (but still definitely within the report), then the slicer loses focus and I must click on the slicer again to give it focus before I use it.
The same behaviour happens if I click on a slicer, then click on another slicer. Any time that I leave a slicer it loses focus and must be clicked on again to gain focus before being used. This does not happen on the demo pages in the link above. In the demo the slicers (or whatever type of visual) always seem to have focus and do not need to be clicked on before being used.
Does nobody know how to prevent this clicking twice issue?
It seems this is caused by me requesting the report in mobile view. Switching to desktop view stop the second click issue.
I had chosen mobile view, as this view allowed the UI to switch between views (landscape/portrait) dynamically without having to reload the report. In desktop view if the user resizes the browser page, the report shrinks shrinks rather than switch between views.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.