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

Mindmap does not load correctly in Safari browser #152

Open
Majkl45 opened this issue Jan 7, 2022 · 6 comments
Open

Mindmap does not load correctly in Safari browser #152

Majkl45 opened this issue Jan 7, 2022 · 6 comments
Labels

Comments

@Majkl45
Copy link

Majkl45 commented Jan 7, 2022

Hi Ondras

When I load your simple mindmap or want load mindmap from JSON in Safari(version 14.0.1), there is a bad positioning of items.
When I tryed load mindmap in Chrome,Firefox,Edge and Opera, there is no problem.

Have you any idea what should by wrong?
mindmap-safari

@ondras
Copy link
Owner

ondras commented Jan 7, 2022

Hmm, this looks really bad. Probaby related to the recent SVG-based refactoring.

@Majkl45, what happens when you collapse/expand some parts of the map? Does the layout get fixed?

Unfortunately, I do not have access to any reasonable Safari (no Mac) to debug & solve this efficiently :-(

@ondras ondras added the bug label Jan 7, 2022
@Majkl45
Copy link
Author

Majkl45 commented Jan 7, 2022

When I collapse/expand some parts of the map, boxes and texts are still getting stuck on the left top corner.

I came accros on this problem so I wanted to let you know about this bug.
Does not matter, I will propably use some other browser.

@ondras
Copy link
Owner

ondras commented Jan 7, 2022

Okay, thanks for reporting and clarification. I will try to reproduce (and fix) on some Safari myself.

@pozzo-balbi
Copy link

Same problem here with Safari, Firefox or Chrome on iPhone.

@clodion
Copy link

clodion commented Nov 11, 2023

I had same kind of problem, I don't know if it will help, I just changed one line in the map.css: I removed the relative position of the item content :

.item .content {
/* position:relative; */
display : inline-flex;
align-items : center;
white-space : no-wrap;
cursor:pointer;
}

and now it works perfectly on all browsers.

@pury
Copy link

pury commented Dec 4, 2023

I had same kind of problem, I don't know if it will help, I just changed one line in the map.css: I removed the relative position of the item content :

.item .content { /* position:relative; */ display : inline-flex; align-items : center; white-space : no-wrap; cursor:pointer; }

and now it works perfectly on all browsers.

It works for me, too. Thanks :)

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

No branches or pull requests

5 participants