Skip to content
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

[Question] Full Screen Custom Menu Action not available #1396

Open
ApexJake opened this issue Feb 23, 2023 · 2 comments
Open

[Question] Full Screen Custom Menu Action not available #1396

ApexJake opened this issue Feb 23, 2023 · 2 comments
Labels
requires discussion This issues needs to be reviewed before development can start

Comments

@ApexJake
Copy link

Question: Is there a message I should be sending from AppBridge(post-robot) to the parent iframe to adjust the height property to take up the full scroll height?

I am trying to update the displayHeight to be 100% but getting an error when following the steps suggested at this link:
Custom Menu Actions

This seems tailored to S-Release instead of Novo, but that was the only info I could find. I receive this error 'Unsafe attempt to initiate navigation for frame with origin'.

I am using AppBridge and this is for Novo.

It would make more sense for the parent iframe to be set to 100% like a Custom Tab is and allow the loaded application to determine the height it needs. That is a different topic though.

@davidkbh
Copy link
Collaborator

Apologies for the extended wait on a response. Can you clarify which type of custom page integration this is referring to? (eg, Custom Menu Action, Custom Card, Custom Tab) There may have been a bug at the time preventing the frame from filling 100% height. Web browsers will block manual interactions between iframes of differing domains by default (for security purposes). If you can provide a screenshot of the element failing to reach 100% height, that would also be useful.

@michael-amaya-bh michael-amaya-bh added requires discussion This issues needs to be reviewed before development can start and removed question labels Feb 26, 2024
@ericflores108
Copy link

Hi @davidkbh -

I followed the HelloListAction extension sample. I was wondering if it would be possible to redirect the page and insert the height in the redirect URL as we would for a custom card.

For example, use
https://us-central1-my-project-name.cloudfunctions.net/redirect?url=https://local.bullhornstaffing.com:4201/#bh-iframe-height=800px

The default seems to be 4000px and I have been unsuccessful in getting this to resize:
image

This is what I'd hope to see:
image

I'd appreciate your thoughts. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires discussion This issues needs to be reviewed before development can start
Projects
None yet
Development

No branches or pull requests

4 participants