Bug #9689
openAuth::RegisterWidget not usable on Mobile
0%
Description
Hello
The Standard Registration Widget is not usable on a Mobile Browser, as it gets too big to find/press the Buttons below.
These Issues trace back almost 9 Years and with the current situation of 50% Mobile use, this should be addressed!
Also it is quite easy to fix: (at least for relatively modern browsers since 2016)
// add to Constructor of WDialog
setMaximumSize(WLength(90, LengthUnit::ViewportWidth), WLength(90, LengthUnit::ViewportHeight));
contents_->setOverflow(Wt::Overflow::Scroll, Wt::Orientation::Vertical);
This helps with both the Size of any WDialog
and all contents within.
This should also not interfere with the IE6 hacks...
Also with a current Marketshare of 0.01% as of December 2021, IE6 should no longer be supported at all...
source: Wikipedia: https://en.wikipedia.org/wiki/Internet_Explorer_6#Market_share
These other issues are also related to sizing problems and will likely be solved with this change.
https://redmine.webtoolkit.eu/issues/5766
https://redmine.webtoolkit.eu/issues/1414
https://redmine.webtoolkit.eu/issues/3932
https://redmine.webtoolkit.eu/issues/5765
https://redmine.webtoolkit.eu/boards/2/topics/13341
https://redmine.webtoolkit.eu/boards/2/topics/12036
https://redmine.webtoolkit.eu/boards/2/topics/11888
Updated by Roel Standaert almost 3 years ago
- Target version set to future
We're not really supporting IE 6, we just didn't actively remove that code.
Doing dialogs differently on mobile is something we can consider.
Updated by Christian Meyer over 2 years ago
There might not be a need to do things differently on mobile!
Just setting a reasonable max-size will do, especially for the built-in Registration Widget!
// add to WDialog::create() at ~line 320
setMaximumSize(WLength(90, LengthUnit::ViewportWidth), WLength(90, LengthUnit::ViewportHeight));
contents_->setOverflow(Wt::Overflow::Auto, Wt::Orientation::Vertical);
If you wouldn't mind explaining how this solution would not work or be undesireable?
I'd appreciate it =)
Thanks