Comments (1)
Thanks for reporting @Achilles1515 .
About 'resizing' and width changes etc, this grid solution it not intended to 'resize' by itself. It is a design decision. We took this decision because this grid is meant to be used in dashboards. Dashboards have charts & those charts may be resized manually too and may be costly to render in some cases, so we want the lib user to handle it manually the way he wants.
For example, the second bug you posted, the solution would be resize manually, example: https://stackblitz.com/edit/angular-grid-layout-playground-enzrrp?file=src/app/playground/playground.component.ts
About the first one (the scrollbar appearing), it is something that is annoying me for some time, I don't like it to behave like that, but sincerely for now I don't have a solid solution for it. The main objective would be the scrollbar to not take space, because we would avoid unnecessary resizes on the grid and on it's items. But this feature of 'scrollbar to not take space' seems not well supported too. There is obviously the overflow: overlay
but is not standarized in all browsers. There is also a workaround that could be done if the grid is placed taking all viewport width, using 'vw' units, that doesn't take into account the scrollbar, see: https://stackblitz.com/edit/angular-grid-layout-playground-kxbcji?file=src/app/playground/playground.component.scss
Another thing that could be done is: - The lib user could detect if scrollbar appears, if so, he resizes manually. But for now, resizing manually while performing a drag operation is not supported. We should add support for resizing while performing a drag operation to allowing this feature.
I am open to suggestions and other solutions if you have, would be nice to solve this cleanly.
from angular-grid-layout.
Related Issues (20)
- Add v0 branch HOT 1
- Angular 16 support to use standalone component and signals HOT 6
- Have you supported feature related in drag and drop to add new item in grid and nested grid?
- How to auto adjust the grid height based on content
- Dragging and Resizing not working on windows touch screen
- Can I give specific colour to the cell from database?
- Feature to download whole layout as a pdf
- Grid items not resizing if container is resized
- Lack of Auto-Reversion to Default Position in 'Compact type none' Mode HOT 1
- Feature Request - New Directive for Dragging Items into Grid HOT 2
- Documentation for backgroundConfig HOT 1
- Emit layoutUpdated event when adding or removing items from grid HOT 1
- Absolute width/height
- Add all other resize options (now is only available 'se-resize'). HOT 3
- How can I lock down a ktd-grid-item? Preventing any movement or replacement! HOT 6
- Support for Angular 16? HOT 1
- RTL direction HOT 2
- Setting Max-height for grid HOT 1
- Drag doesn't work properly when the drag handle is in a child component HOT 1
- Responsive number of columns HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-grid-layout.