stefanwalther / sense-navigation

Sheet Navigation + Actions for Qlik Sense.
MIT License
88 stars 61 forks source link

Buttons are not displaying ture responsive behavior #85

Closed rvijayanth closed 7 years ago

rvijayanth commented 7 years ago

Description

Sheet Navigational buttons are not displaying true responsive behavior when viewing extensions in mobile devices. Works perfectly when viewed application in laptops.

We are using version": "0.5.14"

Steps to Reproduce

  1. Added buttons with QLIKSENSE's KPIs, tables and charts.

Issue: All objects/extensions/widgets should integrate well each other to exhibit a true responsive behavior. This means no blank spaces between objects when used with QlikSense out of the box objects.

Expectation: We expect objects to stack on each other without any blank space. When viewed in landscape or portrait mode, sheet navigational buttons are put inside a fixed height div which is displaying a lot of blank space before showing the next button to any other qliksense objects.

Actual behavior

There are blank spaces between objects/buttons capture

[What actually happened]

Environment

Operating system
[ ] Windows
[ ] OSX
[ ] Linux
Qlik Sense
[ ] Desktop
[ ] Enterprise
Browser
[ ] Chrome
[ ] Firefox
[ ] Internet Explorer
[ ] Edge
[ ] Others: XXX

Versions

stefanwalther commented 7 years ago

Same as #21

stefanwalther commented 7 years ago

Thx for reporting. Unfortunately there is not a lot I can do here. This is the default behavior of Qlik Sense (see also a related issue #21). There is a method called getPreferredSize in the client code which is used by Qlik's native object which actually addresses this problem and provides a way to solve this particular problem.

I have even added the corresponding code a while ago:

image

direct link to the code

But I have decided not to add the solution to this extension since the method getPreferredSize is not exposed as a public API and I am trying to use as much as possible only public APIs to make "my" extension work in as many Qlik Sense versions as possible.

But that's the beauty of Open Source. Feel free to fork this project, enable this code and I hope you get where you want to be.

Regards Stefan

P.S.: Closing this issue, as I will not fix it as long as there isn't a public, supported API I can use to solve this issue.