getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
540 stars 194 forks source link

fix: tailwindcss-3d plugin breaks scale animations #3211

Closed dylancom closed 3 months ago

dylancom commented 3 months ago

Describe the changes you have made in this PR

The menu's (such as UserMenu / AccountMenu) now feel "laggy" as there is no animation on the scaling. It jumps weirdly. I found out that tailwindcss-3d adjusts many classes and breaks the "scaling" transitions.

fix: remove the tailwindcss-3d plugin and create a custom plugin that provides the class that was actually used from the plugin: translate-z-0.

Type of change

socket-security[bot] commented 3 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/body-parser@1.19.2 None 0 8.3 kB types
npm/@types/connect@3.4.35 None 0 6.14 kB types
npm/@types/qs@6.9.7 None 0 7 kB types
npm/@types/range-parser@1.2.4 None 0 5.05 kB types
npm/accepts@1.3.8 None 0 16.8 kB dougwilson
npm/content-disposition@0.5.4 None 0 19.1 kB dougwilson
npm/content-type@1.0.4 None 0 10.2 kB dougwilson
npm/define-lazy-prop@2.0.0 None 0 4.45 kB sindresorhus
npm/forwarded@0.2.0 None 0 5.88 kB dougwilson
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-plain-object@5.0.0 None 0 9.16 kB trysound
npm/is-wsl@2.2.0 environment, filesystem 0 3.76 kB sindresorhus
npm/lodash.uniqby@4.7.0 None 0 67.9 kB jdalton
npm/mime@1.6.0 environment, filesystem 0 51.7 kB broofa
npm/negotiator@0.6.3 None 0 27.4 kB dougwilson
npm/parseurl@1.3.3 None 0 10.3 kB dougwilson
npm/proxy-addr@2.0.7 None 0 15.4 kB dougwilson
npm/range-parser@1.2.1 None 0 8.46 kB dougwilson
npm/retry@0.13.1 None 0 18.9 kB tim-kos
npm/setprototypeof@1.2.0 None 0 4.03 kB wesleytodd
npm/toidentifier@1.0.1 None 0 4.68 kB dougwilson
npm/type-is@1.6.18 None 0 18.5 kB dougwilson

🚮 Removed packages: npm/@swc/helpers@0.5.3, npm/@types/eslint-scope@3.7.3, npm/@types/eslint@7.2.13, npm/@types/estree@1.0.1, npm/@webassemblyjs/ast@1.11.6, npm/@webassemblyjs/wasm-edit@1.11.6, npm/@webassemblyjs/wasm-parser@1.11.6, npm/acorn-import-assertions@1.9.0, npm/chrome-trace-event@1.0.3, npm/enhanced-resolve@5.15.0, npm/es-module-lexer@1.2.1, npm/glob-to-regexp@0.4.1, npm/loader-runner@4.2.0, npm/neo-async@2.6.2, npm/stream-browserify@3.0.0, npm/swc-loader@0.2.3, npm/tailwindcss-3d@1.0.2, npm/terser-webpack-plugin@5.3.9, npm/tsconfig-paths-webpack-plugin@4.1.0, npm/watchpack@2.4.0, npm/webpack-sources@3.2.3, npm/webpack@5.89.0

View full report↗︎

pavanjoshi914 commented 3 months ago

Thanks for the PR! tAck