blacksmithgu / datacore

Work-in-progress successor to Dataview with a focus on UX and speed.
MIT License
1.5k stars 16 forks source link

Bug fixes and improvements for ui: ControlledPager #63

Closed xhuajin closed 2 months ago

xhuajin commented 3 months ago
  1. Fix ui bug: 'vanilla-table -> ControlledPager' - splitPages() index error. (index === totalPages is not a page)

image

  1. Fix css error: 'background-color' can't be set 'none'. Use 'background-color: unset;' instead

  2. Page switching optimization: when totalpage > 12, the number of buttons will remain 13. This leaves the button in the same position when the page is switched.

PixPin_2024-08-14_00-50-38

  1. Added the ability to skip multiple pages when clicking an omitted page.

PixPin_2024-08-14_00-52-10