Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

请问有没有办法动态获取jsmind的高度 #549

Closed
icefire1982 opened this issue Dec 11, 2023 · 0 comments
Closed

请问有没有办法动态获取jsmind的高度 #549

icefire1982 opened this issue Dec 11, 2023 · 0 comments

Comments

@icefire1982
Copy link

目前的方案中,先是制定container的固定高度,然后生成jsmind思维导图,但是就会遇到一个问题:有时思维导图的高度比container的高度大不少,导致与页面其他内容间隔很大;有时思维导图的高度又超过container的高度,导致出现滚动条。有没有什么办法,可以在生成思维导图后获取jsmind的高度,然后通过javascript来动态调整container的高度,使其即可在高度方面能全部呈现思维导图,又不至于会出现与其他元素间距过大或者不得不显示滚动条的情况。

Repository owner locked and limited conversation to collaborators Dec 11, 2023
@hizzgdev hizzgdev converted this issue into discussion #550 Dec 11, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant