Author Topic: R2L Support in Edge & Chrome on "Virtual-X: True"  (Read 493 times)

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
R2L Support in Edge & Chrome on "Virtual-X: True"
« on: September 05, 2024, 07:55:06 pm »
Hello everybody,

I'd like to ask if anyone has encountered the problem where scrolling horizontally does not load the yet-to-be-loaded-columns on Chrome and Edge. The columns I am trying to display exceed 100 columns.

It works on
Firefox in LTR and RTL
Edge only in LTR (Not RTL)
Chrome only in LTR (Not RTL)

Appreciate your help.
« Last Edit: September 05, 2024, 07:57:12 pm by irshaid »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #1 on: September 05, 2024, 09:44:22 pm »
Do the columns display after some lag or do they not load at all.

Could you share some screenshot or a jsfiddle/ stackblitz.

https://jsfiddle.net/adbghz7v/7

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #2 on: September 17, 2024, 06:16:03 pm »
Hello Paramvir,

They do not load at all on Edge/Chrome, sometimes the columns display when I zoom-in and out. This is the link for the video that shows the issue (I have used WeTransfer): https://we.tl/t-0y4MLxDrHn

I cannot share it on jsfiddle as I am using C# MVC. I have used Virtual-X: True and the Virtual-Y: True in my code.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #3 on: September 17, 2024, 06:39:09 pm »
Please recheck by hiding the number column.

Do you see any error in the browser console.

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #4 on: September 17, 2024, 08:21:33 pm »
I just disabled the numbered column, the issue still persists in Arabic.

Here's the link to the video.
https://we.tl/t-RYKITRhUUh

The 404 that's appearing in the console is not related to paramquery, it's an icon that has failed to load.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #5 on: September 18, 2024, 02:55:04 pm »
Have you added rtl attribute in html and used the rtl variant of pqgrid stylesheets correctly?

I've created this jsfiddle for 10,000 columns and I don't see any fundamental issue in it.

https://jsfiddle.net/urkdynp2/1/
« Last Edit: September 18, 2024, 03:19:23 pm by paramvir »

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #6 on: September 22, 2024, 03:32:50 pm »
Hello Paramvir,

Thank you very much for the fiddler link, I have created a similar one that I have replicated as much as I could:
https://jsfiddle.net/h4b2591L/1/

This is the video of how it behaves on my end: https://we.tl/t-N2w4NZX17w

I made sure that my browser is up-to-date on Chrome (I tried in incognito/regular - with and without extensions enabled still had the same problem): Version 129.0.6668.59 (Official Build) (64-bit)

I have tested the fiddle on 7 computers, only 2/7 work, and the ones that don't work do not output console errors.

I am open to having a quick meeting to show you the behavior.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #7 on: September 26, 2024, 11:20:40 pm »
Could you mention the OS version. I couldn't reproduce the issue on Windows OS with both Edge and Chrome ( latest 2 versions ).

I was able to reproduce the issue on a MAC OS in jsfiddle and stackblitz. However the issue gets resolved if I run the same examples on a web page. I guess it's because both tools use iframes and main document doesn't have dir="rtl"

Please check by assigning the dir="rtl" attribute to the document body. Are you using iframes by any chance?
« Last Edit: September 26, 2024, 11:22:53 pm by paramvir »

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #8 on: October 06, 2024, 04:04:49 pm »
We are using Windows 11 Pro 64-bit (10.0, Build 22631) -- I got it from `dxdiag`.
And the version of Chrome: Version 129.0.6668.90 (Official Build) (64-bit)

We are not using an iFrame in any of our projects. We are using dir="rtl" when we display the grid when it is properly required.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #9 on: October 06, 2024, 04:18:21 pm »
Have you assigned dir="rtl" to the whole page ( document.body ) or only a section of the page?

irshaid

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: R2L Support in Edge & Chrome on "Virtual-X: True"
« Reply #10 on: October 09, 2024, 09:40:02 pm »
i have tried to assign the dir="rtl" on body , on html , on the div that contain grid and it did not work