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

Fix $$expand not adjusting height inside script-enabled iframe #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IntractableQuery
Copy link

This is a hack to fix the scenario where I do this:

<script src="javascripts/docson/widget.js" data-schema="my_schema.json$$expand">
</script>

And what happens is the iframe is of insufficient height to show the entire expanded body of docs. I am not sure of the origin of this problem, but have spent enough time in "make the iframe auto resize to its content height" hell in the past to not want to investigate why :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant