Llorenç Pujol Ferriol
Llorenç Pujol Ferriol
Hi @mvpcortes , This happens because the 'jest.config.js' has `testEnvironment ="node"`. In order to use window object in your tests you need to change that to `'jsdom'`. Maybe 'jsdom' should...
You are welcome:) Yeah I get it! In my case most of the times I could isolate the callback function from window event listener and test it without the dependency...
I have experienced this issue recently in a Angular/Typescript project. We solved it setting the tsc ouput module to be **commonjs** in our testing tsconfig: tsconfig.spec.json: ``` "compilerOptions": { .......
I agree we should have this feature to correctly solve the bug: https://github.com/katoid/angular-grid-layout/issues/6 The code from angular material is totally fine IMO. As I said in #6 , do you...
Thanks for reporting! I have checked the code, and the `compact` function with `compactType='horizontal'` doesn't handle well adding items the way is done in this example (at position 0, 0)....
It seems a super niche feature IMO. I don't see it integrated as a standalone feature. What is your actual use case? Can you explain a little bit? One option...
Seems exactly the definition of this issue: https://github.com/katoid/angular-grid-layout/issues/1 If so, close this issue and up vote the other one, and add some comments if needed. This way then issue gets...
It's a good feature, simple to add and aligned with the project philosophy. Said that, in this grid solution there is no 'grid type', there are just `cols` and `rowHeight`....
@andrewpolemeni The feature itself doesn't require much changes in the code, since it just changes how the rowHeight is calculated. Said that, I tested it a little bit, and I...
Hey @pau-garrido , If I understood well, you want to set the height of the grid yourself manually? Which is your use case? You are using a non vertical compact...