verbb / navigation

A Craft CMS plugin to create navigation menus for your site.
Other
90 stars 22 forks source link

Spacing is a bit weird after entering a new link. #383

Closed bob-pixeldeluxe closed 7 months ago

bob-pixeldeluxe commented 7 months ago

Describe the bug

When i add a new entry and drag it under another navigation item (make it level 2). The drag icon is not placed correctly which makes the overview a bit messy till you refresh especially when you are working with a big navigation with dropdowns etc.

Screenshot 2024-02-05 at 11 14 06

Steps to reproduce

  1. create a new link in the navigation plugin
  2. drag it under something else.
  3. the drag icon is placed a bit to the left till you refresh

Craft CMS version

4.7.1

Plugin version

2.0.25

Multi-site?

Yes

Additional context

No response

engram-design commented 7 months ago

That's pretty odd, but you're right. There's two different pixel values for a server-rendered node and one that's been moved to a different level.

CleanShot 2024-02-06 at 12 39 32@2x

Because this inherits from Craft's structure view, we're not doing anything custom. In fact, I see this same behaviour in Craft's entries:

CleanShot 2024-02-06 at 12 42 16@2x

So I'll file an issue upstream at Craft.

engram-design commented 7 months ago

Looks to be fixed in Craft 4.7.2.