Unplanned
Last Updated: 17 Jan 2023 08:07 by ADMIN
Pingu
Created on: 10 Jan 2023 09:33
Category: Pager
Type: Bug Report
1
Pager isn't responsive to mobile when used in a grid with an async OnRead

Hi.

When you have a TelerikGrid, with on OnRead event making an async call, the pager that comes with TelerikGrid doesn't show the mobile view when on a narrower device.

 

I created a blazor repl here: https://blazorrepl.telerik.com/mxOPbEuZ29PQRAQk02

 

If you view the repl in browser, open dev tools and toggle the device toolbar, and set your viewport width to something around 320px. If it loads into the preview right away, after having been first rendered on normal screensize, then the pager will adapt. To see the bug, go to the code tab, then the preview tab to have it do its initial render on mobile width. You will see something like this:

This is an issue live currently on my own websites, which had been reported to me by customers. I believe this only occurs when using the Grid's OnRead, and making an asynchronous call within it (which I represented in the repl with a Task.Delay)

I'm using as early as 3.5.0 in production, but can repro this on latest, 3.7.0.

1 comment
ADMIN
Svetoslav Dimitrov
Posted on: 17 Jan 2023 08:07

Hello Matthew,

Thank you for sending us the REPL snippet. This is a valid bug report. I have added Telerik Points to your account as a small token of appreciation. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.