Record Page Navigation Arrows Cause Unnecessary skeleton loading (#6367)

@Bonapara 
Issue #6325 

- Desired Behavior
The navigation should always be visible. Clicking on a Next/Previous
arrow should immediately increment the number without switching to the
skeleton loading step.
**Done** 

Please let me know what do you think about this approach.

Thanks :)



https://github.com/user-attachments/assets/bda3608f-87e3-45bd-a7c8-4a6b48391cf2

Co-authored-by: Weiko <corentin@twenty.com>
Co-authored-by: martmull <martmull@hotmail.fr>
This commit is contained in:
nitin
2024-07-29 20:30:22 +05:30
committed by GitHub
parent 515d6fb1c5
commit 6bc7622e1e
3 changed files with 36 additions and 48 deletions

View File

@ -43,7 +43,6 @@ export const RecordShowPage = () => {
navigateToPreviousRecord,
navigateToNextRecord,
navigateToIndexView,
isLoadingPagination,
} = useRecordShowPagePagination(
parameters.objectNameSingular ?? '',
parameters.objectRecordId ?? '',
@ -64,7 +63,6 @@ export const RecordShowPage = () => {
hasNextRecord={hasNextRecord}
navigateToNextRecord={navigateToNextRecord}
Icon={headerIcon}
loading={loading || isLoadingPagination}
>
<>
<PageFavoriteButton