User tests: Successful: Unsuccessful:
Pull Request for Issue #18447 and #20350 .
We open a modal window in fullscreen for mobile.
Log in as administrator with your smartphone.
Select TinyMCE editor in Global Configuration.
Edit an article.
Click on Module, Contact, Menu, Article, Image, Field, Page Break buttons.
Change the orientation of the screen (landscape, portrait) on smartphones.
A modal window is opened and fills the screen.
The modals of the xtd plugins are not cut and can be closed.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
Use
JFactory::getApplication()->client->mobile
for mobile device checks instead of hardcoding a list of platforms.
That's what I did first, but it is not fit with a tablet. That's why I only choose smartphones.
I have tested this item
Patch works on real devices but solution is perfect as it won't work when you simply change the screen size.
I have tested this item
Patch works on real devices but solution is perfect as it won't work when you simply change the screen size.
@twister65 there is a cleaner way to do this: the mootools modal already has a resize function and the only changes that needs is:
Solving client side problems in PHP is not really a good idea...
Check https://codepen.io/dgrammatiko/pen/JeyyBx?editors=1010
Lines 148 to 160 on the js part
Solving client side problems in PHP is not really a good idea...
I totally agree with you
@dgrammatiko , this is a tinyMCE issue.
#20350 (comment)
It uses its own window manager :
Title |
|
@ReLater and @infograf768, please could you test this PR ?
It should fix your issues.
I see a problem with this responsive behavior. Test the Module button with screen width below 769px. Column "Position" is hidden.
I know that's an underlying issue with the modules selection view (CSS classes "hidden-phone" of some columns) but I feel uncertain if I can test successfully then.
I have tested this item
I have tested this item
Thank you
Status | Pending | ⇒ | Ready to Commit |
RTC
I have tested this successfully
I have tested this successfully
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-12-12 05:39:29 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
Use
JFactory::getApplication()->client->mobile
for mobile device checks instead of hardcoding a list of platforms.