-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unable to get event handlers working #156
Comments
+1 on this, I've been battling this for the last week too! Here's my bit of code, looks fairly similar to yours:
|
I actually resolved this by looking at this comment from another issue. I needed to add a |
I saw the |
I believe I'm running into a similar issue. I'm trying to resize the iFrame dynamically so that our Looker dashboard doesn't have a y scrollbar. I'm using
I haven't found a workaround yet. Curious if you got things working @Jack-Barry ? |
@jarrettch I haven't found anything yet, but still need to double-verify some things in our Looker configuration. There's quite a few moving parts for us, so I need to make sure this isn't just an issue because it's running on Also, I don't know yet if creating by ID absolutely has to be done first before calling create by URL, if that is maybe related to this issue. We generate the signed URL entirely via a backend service for all reports, so creating by ID on the frontend (AFAIK) is not viable for us. The docs say something here, so I donno if there's some magic done when creating by ID that is required for the event handlers to work properly |
A few things to check:
|
Thanks @williamtsoi1, turns out step 1 was the missing part for us |
When setting up dashboards or looks with an SSO embed URL using
LookerEmbedSDK.createLookWithUrl
orLookerEmbedSDK.createDashboardWithUrl
, none of the event handlers seem to do anything in our app. The embed loads just fine and renders a report, but nothing gets logged to console, even with something where all of the documented event types are handled:Is there anything we could be doing wrong/missing that prevents those event handlers from being invoked?
The text was updated successfully, but these errors were encountered: