Hasan Mothaffar

Results 15 comments of Hasan Mothaffar

I can reproduce the issue on a `Windows 11` machine. We have `enableGlobalCache: true` in our `yarnrc.yml` file, and I'm getting this error ![image](https://user-images.githubusercontent.com/60794869/180148097-e0d41ee3-ce86-4e5c-9c78-d044adb94fc2.png) The error's not exclusive to this...

You have to listen to the `scroll` event on your `locomotiveScroll` instance, instead of the window object's native scroll event. I had a similar issue where I wanted to change...

@NZnick I don't know if this helps, but maybe try adding a simple `.vscode/launch.json` config file? I'm using WSL and VSCode. I installed the extension and launched the debugger (F5)...

I faced a similar problem at work, but I didn't like the idea of using an abstract hook for some CRUD operation in fear of over-generalization, even if there was...

I faced some hard to find bugs because of using ``, I'll go back to using the wrapper function mentioned above.

I'm using this workaround in the codebase instead of `NiceModal.show`. ```tsx import NiceModal, { NiceModalHocProps } from "@ebay/nice-modal-react"; import { ComponentProps, FC } from "react"; type Props = Omit &...

> To make the modal component's props optional doesn't make sense to me. Why lose the type safety? I too didn't understand why the modal's component props were made optional....

@andersonba This is the only solution that worked with me.

Same thing happening here. Wasted an hour on this...