You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pagination: ignore layout measurements taken before the theme CSS is applied - #35486
isLayoutApplied overlooks the info element. With the supported combination pageSize: 0, showInfo: true, and no page-size selector, both checked refs are absent, so an unstyled .dx-info block is measured and cached as the full parent width. The first update then hides the info, and the theme-ready update cannot remeasure it because its ref is gone, leaving it hidden even at a wide width. Include infoTextRef in this readiness check (the themed .dx-info is inline-block) and cover this info-only configuration.
When the pager contains only the info text (for example, showInfo: true with the “all” page size, where pageSize === 0 suppresses the page-index selector), both checked refs are absent, so this returns true even before CSS is applied. The unstyled .dx-info is then measured as a full-width block, infoTextVisible becomes false, and its cached width prevents the info text from returning after theme readiness. Include infoTextRef in this layout-readiness check so this valid info-only layout also ignores its unstyled measurement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.