cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behavior of ResponsivePopover

Former Member
0 Kudos

Hello Experts,

im faceing a strange behavior on the ResponsivePopover(sap.m)

I got a ResponsivePopover with a DateTimeInput on it (shown in Screenshot):

When I now try to do any Mouse-Input (f.e. scroll the time or click "OK") the ResponsivePopover disappears (shown in Screenshot2):

If i Click on Abort. Both Dialogs (DateTimeInput & ResponsivePopover) disappear.

The strange thing is, if im using the Keyboard, or using it on phone, everything works as expected. Just the Input with the Mouse is creating this behavior.

Any Ideas how to fix this?

Thanks for your Help!

Sascha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I had exactly the same problem. I didn't find a clean solution, but what I did was:

new sap.m.DateTimeInput(

                                    "search_datum_begin", {

                                        width: "200px",

                                        change: function() {

                                            oPopover

                                                .openBy(sap.ui.getCore().byId('searchButton'));

                                        }

                                    }),

So every time the date is changed, the popup wil open again...

You will notice the behavior of the popover control is not the same for every device. So I advise you to test with a wide variety of devices...

Regards,

RW

Former Member
0 Kudos

That was my first thought too.

But when you click on "Abort" no change Event is fired. And so the popups are just closed..

To bad that it seems there is no other way.

Former Member
0 Kudos

You can always report this as a bug:

OpenUI5 - Report a Bug

Regards,

RW