EasyUI Forum
September 14, 2025, 07:25:03 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] Click on date close modal  (Read 8824 times)
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« on: July 29, 2017, 02:58:59 AM »

Hello
I created example here:
http://code.reloado.com/oeasyrik1/131/edit

Please click on "Open modal", then click on date field (Birthday) and select date - when you click on calendar, modal is closed - why?

Or - does JeasyUI mobile have responsive panel/dialog (like in above example) where you can put 2 column grid so they are displayed nicely on desktop and mobile?
Thank you for your help.
« Last Edit: July 30, 2017, 10:44:07 PM by Pierre » Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: July 29, 2017, 06:28:45 AM »

This example uses the easyui's dialog and do almost the same.

http://code.reloado.com/oeasyrik1/132/edit#preview
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #2 on: July 29, 2017, 01:18:12 PM »

Awesome Jarry thank you so much for your help.
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #3 on: July 30, 2017, 01:16:12 AM »

I just realized that it can be problem to send different dialog height's on different devices (I'm working on app which should run on mobile and desktop).
Is there any other way to somehow solve that, please?
« Last Edit: July 30, 2017, 01:18:02 AM by Pierre » Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #4 on: July 30, 2017, 08:19:15 PM »

The dialog's height can be set to a percentage of its parent container.

http://code.reloado.com/oeasyrik1/133/edit#preview
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #5 on: July 30, 2017, 10:43:52 PM »

Yes that's perfect solution, thank you very much.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!