Hi, I am trying to embed an iframe in a division through HTML-CSS. The styling is working fine on the desktop i.e. report will resize based on its container and scrolling appears for the report. The same code is not working on iPad Safari browser. Can anyone suggest what will be the possible issue?
Hi @sakshigupta1, welcome to the forums
I don’t think anyone can help without seeing your code…
@Gandalf I am using the GreenSock library. https://codepen.io/GreenSock/pen/dPZLEp Hit the URL and in JS section replace last line code “my message” to "<iframe width=\"100%\" height=\"100%\" src=\"https://app.powerbi.com/view?r=eyJrIjoiNmJjNGY4YWMtODBmOS00YWNlLTg1MzgtMDE4YjYwODdmMjcwIiwidCI6ImYyZDQ5ZTFmLWE2MWQtNDBkMC1hYWY1LTI5Mzc0MGY1NTAxMyIsImMiOjZ9\" frameborder=\"0\" allowFullScreen=\"true\"></iframe>"
.
There in the 1st division report will be displayed in the Output window. This seems fine on desktop but on iPad, report overflows the div container.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.