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

fix(Table): hide data when loading state is active #460

Merged

Conversation

Haythamasalama
Copy link
Contributor

After :
image

Before

image

@vercel
Copy link

vercel bot commented Jul 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview Jul 29, 2023 6:26pm

Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe wrapping the tr around a <template v-else> at the bottom would be better?

@Haythamasalama
Copy link
Contributor Author

Maybe wrapping the tr around a <template v-else> at the bottom would be better?

You are right

@Haythamasalama
Copy link
Contributor Author

@benjamincanac Done

@benjamincanac benjamincanac merged commit 2b3dc8d into nuxt:dev Jul 29, 2023
@Haythamasalama Haythamasalama deleted the fix(Table)-hide-data-when-loading branch July 29, 2023 22:13
@Tragio
Copy link
Contributor

Tragio commented Aug 3, 2023

@benjamincanac @Haythamasalama is there any way to have the older behavior? Because I have infinite scrolling and now I can't scroll, it jumps always to the top. Before it looked good because was showing that was loading more 🤔

Copy link
Member

I guess you can disable the loadingState prop: :loading-state="null" and handle the loading yourself.

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

Successfully merging this pull request may close these issues.

3 participants