cancel
Showing results for 
Search instead for 
Did you mean: 

Hide pullToRefresh on Non-touch device

Former Member
0 Kudos

Hi Experts,

Due to SAP guidelines Fiori app should use pullToRefresh on Mobile devices and refresh button on Desktop.

Problem is that <PullToRefresh> does not hide itself  in case of non-touch devices. It works like a charms in case of mobile device. I saw in standsrd transactional SD apps that it's possible to do it but I can't find solution. 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

So how should the user refresh the list?

You can use a device model en link this with the 'visible' attribute of the PullToRefresh control.

Kind regards,

RW

Former Member
0 Kudos

As you can see on the screen below (standard Fiori SD app) user can use refresh button placed in search field. PullToRefresh is hidden and it works correctly on mobile. I would like to achive the same UI and functionality.

I can't use visible attribute because "In non-touch browsers where scrollbars are used for scrolling, it is always visible".  Any ideas?

Former Member
0 Kudos

SAPUI5 Explored

Regards,

RW

Former Member
0 Kudos

This is exactly what i was looking for. Thank you very much.

Best regards,

Daniel

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Moving to SAP Fiori Space.

Regards,

Chandra (Moderator)