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

[Issue][MazTable] not scrolling horizontally when its size exceeds parent. #1177

Open
nabilachtioui opened this issue Oct 31, 2024 · 4 comments
Assignees
Labels
BUG FIX Something isn't working

Comments

@nabilachtioui
Copy link

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information)

  • Device: [e.g. iPhone15]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

@nabilachtioui nabilachtioui added the BUG FIX Something isn't working label Oct 31, 2024
@LouisMazel
Copy link
Owner

Hi @nabilachtioui,

I will add a CSS rules overflow: auto to the table wrapper to fix it.

In the meantime you can add it yourself:

<MazTable style="overflow: auto"> ... </MazTable>

@nabilachtioui
Copy link
Author

Bonjour Louis,
Merci de ton prompt retour!
Non ça marche pas encore:
..
Même en précisant tableLayout="auto"

@LouisMazel
Copy link
Owner

Ah ouais au temps pour moi, ça ne s'applique pas au bon élément.

En attendant la MAJ tu peux appliquer le CSS sur le bon élément (.m-table-wrapper) :

Cod dispo ici: https://stackblitz.com/edit/maz-ui-vue3-table?file=src/App.vue

@nabilachtioui
Copy link
Author

J'ai déjà essayé cela, mais cela n'a pas marché pour moi.
Cela marchait avant (j'ai reseté mon projet il y a quelques jours, et j'ai réinstaller en pip), je pense que cela est corrélé.
Je vais regarder après si tu répares pas le code de la librairie et reviens vers toi.
Merci Louis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG FIX Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants