ZTL-UwU / shadcn-docs-nuxt

Effortless and beautiful docs template built with nuxt content & shadcn-vue.
https://shadcn-docs.nuxt.dev/
MIT License
132 stars 24 forks source link

bug: navigation popoever doesn't follow hovered item #23

Open ZTL-UwU opened 1 month ago

ZTL-UwU commented 1 month ago

Screenshot-2024-08-08_13:23:28

ZTL-UwU commented 1 month ago

https://github.com/radix-vue/shadcn-vue/issues/705

xarthurx commented 1 month ago

I also notice this issue after the last updates... Possible to fall back to the previous updates?

ZTL-UwU commented 1 month ago

I also notice this issue after the last updates... Possible to fall back to the previous updates?

This problem exisit in every version, as it is not caused by shadcn-docs. So it has to be fixed by the radix team.

xarthurx commented 1 month ago

I also notice this issue after the last updates... Possible to fall back to the previous updates?

This problem exisit in every version, as it is not caused by shadcn-docs. So it has to be fixed by the radix team.

Yeah, I mean before you fix https://github.com/ZTL-UwU/shadcn-docs-nuxt/issues/22 the issue doesn't exist. Can you fall back the radix related package to that version?

ZTL-UwU commented 1 month ago

Screenshot-2024-08-10_20:24:50

This is in 0.4.6, and an old version of radix-vue. I think it never worked.

Also, in https://github.com/radix-vue/shadcn-vue/issues/705 the maintainer mentioned that it is a long lasting issue, not a bug caused by new updates.

This is long standing issue in radix-ui and radix-vue

This should be fixed in radix-vue v2

radix-vue/radix-vue#589

xarthurx commented 1 month ago

Interesting...

Before I update today, the problem was not there.

On Sat, 10 Aug 2024 at 14:29, Tony Zhang @.***> wrote:

Screenshot-2024-08-10_20.24.50.png (view on web) https://github.com/user-attachments/assets/14f70502-5810-4f6f-9fde-5701c7f2687b

This is in 0.4.6, and an old version of radix-vue. I think it never worked.

— Reply to this email directly, view it on GitHub https://github.com/ZTL-UwU/shadcn-docs-nuxt/issues/23#issuecomment-2281472668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVGVUJKKIW7PITDRWF4EDZQYBUHAVCNFSM6AAAAABMFWXKXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBRGQ3TENRWHA . You are receiving this because you commented.Message ID: @.***>

-- Zhao MA

https://beyond-disciplines.com https://beyond-disciplines.com

"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"

ZTL-UwU commented 1 month ago

Can you share a screenshot of when it working and the package lock at that moment?

xarthurx commented 1 month ago
{
  "name": "bal-documentation-website",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "nuxt": "^3.12.4",
    "nuxt-link-checker": "^3.1.0",
    "rehype-citation": "^2.0.0",
    "shadcn-docs-nuxt": "^0.4.7",
    "vue": "^3.4.36",
    "vue-router": "^4.4.3"
  },
  "devDependencies": {
    "@iconify-json/lucide": "^1.1.205",
    "@iconify-json/material-symbols": "^1.1.86",
    "@iconify-json/mdi": "^1.1.68",
    "@iconify-json/noto": "^1.1.20",
    "@iconify-json/vscode-icons": "^1.1.37",
    "@unocss/nuxt": "^0.61.9",
    "remark-heading-id": "^1.0.1",
    "unocss": "^0.61.9"
  }
}
xarthurx commented 1 month ago

lock file too large. You can check it here:

https://pastebin.com/p6tVr1jK

ZTL-UwU commented 1 month ago

Are you sure it works? I still can't get it to work, even with the same dep versions. I think we will wait for radix-vue to fix this.

xarthurx commented 1 month ago

Yes. This only happens today after I update this repo (for fixing the symbol in the nav bar). I came to this issue because of this bug.

I saw radix-vue is targeting this bug for v2? So will not be a sooner fix?