Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds forceRenderAllFields admin prop to force all fields in edit view to render immediately #10478

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

PatrikKozak
Copy link
Contributor

What?

Adds new forceRenderAllFields admin prop to collection & global configs for V3.

This new prop forces all fields in the Edit view to render immediately, regardless of scroll position. By default, this is set to false to improve performance, as fields are progressively rendered to balance load times. Enabling this option can make it easier to locate fields using browser search (e.g., CMD+F).

admin: {
  forceRenderAllFields: true,
},

Why?

Previously, fields were only rendered to a certain viewport pixel height for performance purposes. As a result, this disallowed using the browser search on all fields in the edit view if they were not completely loaded in i.e in the proper viewport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant