Spark 5.2 Responsive Layout Delay

Locked
placido
Posts: 5
Joined: 27 Apr 2015, 02:12

30 Jul 2015, 15:45

Hello guys,

I'm developing an application which is basically a dashboard, so there are many graphs at the page.
With Spark 5.1 version, the responsive layout was working well when the screen orientation was switched on a mobile device, but the line and bar graphs were not being resized properly.

After upgrading to Spark 5.2, I realized the graphs mentioned are now being resized correctly, however, there's a big delay to adjust the components size when switching the screen orientation, which was not happening at the previous version.

Do you have any tip for solving one of these issues?

Please, let me know if you need more information and I really appreciate any help you can provide.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

31 Jul 2015, 15:46

Can you please attach a sample test.xhtml and testBean for us to replicate? What spark-version are you using?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

31 Jul 2015, 16:45

In 5.2, responsive charts replot themselves on resize, orientation change so for a page with many graphs replotting all of them will take time so it is expected.

placido
Posts: 5
Joined: 27 Apr 2015, 02:12

31 Jul 2015, 19:39

Thanks for the reply, Aragorn.

Just correcting the info:
- Spark-version: 1.3
- Primefaces: 5.1 and 5.2

Please, check the behavior in 5.1 version using an iPhone6 device
https://youtu.be/IraU3kb31xk

And 5.2 version
https://youtu.be/RnLz6X2PUnI

So basically in 5.1 the responsive charts don't replot themselves on orientation change? Why don't we see this delay in 5.1 (although line and bar charts are not resized)?

You can check the xhtml file here: https://mega.nz/#!oAAERDoQ!kFBfrZFbcZyG ... jPB_1k_K-A

Locked

Return to “Spark”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests