Skip to content

[FEATURE REQUEST]Better loading/skeleton #175

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

Closed
KeroZhai opened this issue Mar 11, 2025 · 2 comments
Closed

[FEATURE REQUEST]Better loading/skeleton #175

KeroZhai opened this issue Mar 11, 2025 · 2 comments
Labels
wontfix This will not be worked on

Comments

@KeroZhai
Copy link

KeroZhai commented Mar 11, 2025

Is your feature request related to a problem? Please describe.
I notice that when dataset is empty, there will be a skeleton as placeholder. But the thing is, its size looks weird when the container is wide.

Take the VueUiVerticalBar as an example, the bar is very thick:

Image

As a comparison after reducing the container width:

Image

Describe the solution you'd like

Able to set the bar height or make it response to container height.

Also, maybe it's better to provide a loading prop, so we can control when to show the skeleton.

Describe alternatives you've considered

Additional context

@graphieros
Copy link
Owner

Hi @KeroZhai

If the default skeleton loaders are not suitable for you, there are ways to show a loading state using the component itself, and adapt config attributes based on the loading state of your data. Examples here, with code here.

The default skeleton loaders will remain for now, as they are just a basic out of the box indicator.

@graphieros graphieros closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2025
@KeroZhai
Copy link
Author

Thanks! Didn't know it before.

@graphieros graphieros added the wontfix This will not be worked on label Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants