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

new syncer: New save dropdown is partially hidden #4531

Open
pmario opened this issue Mar 31, 2020 · 10 comments
Open

new syncer: New save dropdown is partially hidden #4531

pmario opened this issue Mar 31, 2020 · 10 comments

Comments

@pmario
Copy link
Contributor

pmario commented Mar 31, 2020

It is like this:

syncer-dropdown-01

IMO it should be like this: with position="belowleft" -- which is a little bit better.

syncer-dropdown-02

@Jermolene
Copy link
Owner

Hi @pmario this is the same issue we have with the adjacent "more" dropdown, it's not specific to the new syncer fixes.

image

@kookma
Copy link
Contributor

kookma commented Mar 31, 2020

@Jermolene
In another thread this was discussed, I hope TW gets more smart popup mechanism and display these kind of drop down which close to window edges in a smart way.

@pmario
Copy link
Contributor Author

pmario commented Mar 31, 2020

Yea, cool. The default dropdown should be fixed too.

@pmario
Copy link
Contributor Author

pmario commented Mar 31, 2020

"more" dropdown is still readable, but with the syncer text gets cut off.

@Jermolene
Copy link
Owner

The problem is exacerbated because the prerelease has fluid-fixed layout with a relatively narrow sidebar.

@pmario
Copy link
Contributor Author

pmario commented Apr 16, 2021

There is code in the Mentat plugin (the virtual desktop conversion), which hacks the core to handle popups going offscreen. The author even has notes in his plugin about possibly merging it into the core. This would very much be worth doing, in my opinion.

https://thesherwood.github.io/Mentat/

Repopup

  • A quick hack of a plugin that attempts to reposition tiddlywiki popups so that they don't run off the screen. It's not perfect and it doesn't seem to do much to normal dropdowns. But it's an okay fix until the popup mechanism can get a comprehensive overhaul. This plugin has been designed with the Volant, Engine, and Mentat Plugins in mind. So if you use it for something else, your mileage may vary.

https://github.com/theSherwood/Mentat

https://github.com/theSherwood/Mentat/blob/master/src/tiddlers/system/plugins/admls/repopup/startup/repopup.js

I hope to wrap up my server experiments soon, and come back to this. Let me know if this is useful.

see: https://groups.google.com/g/tiddlywiki/c/dFxN3eIrAzo/m/6h9rISmTDAAJ

@pmario
Copy link
Contributor Author

pmario commented Apr 16, 2021

also see: #4393

@kookma
Copy link
Contributor

kookma commented Apr 17, 2021

Thank you @pmario. I hope @Jermolene have a look at this old issue! As you said the Repopup addresses this issue partially! I think we can use reveal widget also for tooltip!

In Refnotes plugin I use tooltip to show footnotes and citations. The issue is with mobile browser when users experience off screen tooltip. There is no way in Tiddlywiki to reposition them and address the offscreen issue!

ping @TiddlyTweeter

@TiddlyTweeter
Copy link
Contributor

ping @TiddlyTweeter

Tx @kookma for the ping!

Somehow floating back into view dropdowns in general in TW would be a real PLUS on usability. Especially on smart phone.

I personally like the entire tag system in TW. It is great for making menus quickly and very easily.
BUT, especially on mobile, it BREAKS, purely on positioning ... for example from an active wiki I made for teaching English ...

Screenshot 2021-04-17 091048

@AnthonyMuscio
Copy link
Contributor

Some thoughts, although I expect others have more knowledge of this and there are standard ways to address this.

I have wondered if there were a way to set centre or right align such popups, I could imagine centre being popular on mobile screens but as long as we can still relate the popup to the original trigger, especially if it needed click/touch to close.

I imagine if the starting point is left or right of centre then from this the direction to open could be determined.

Tony

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

No branches or pull requests

5 participants