question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redundant div if pass the asChild={false} parameter explicitly to DropdownMenuTriggerItem

See original GitHub issue

Bug report

Current Behavior

If pass the asChild={false} parameter explicitly to DropdownMenuTriggerItem then there is a redundant div which breaks the layout.

Expected behavior

Redundant div does not appear

Reproducible example

Line 184 CodeSandbox Template

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KelvinOmcommented, Feb 22, 2022

Thanks. I will be waiting for the release.

1reaction
jjenzzcommented, Feb 22, 2022

Ah, this was inadvertently fixed by 0.1.5-rc.15 here.

Upgrading to latest release candidate should solve it for you but we will also be doing a proper release in the coming weeks if you’d prefer to wait for that.

Example sandbox with it working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can explicit type parameters redundant? - java - Stack Overflow
Yes they are equivalent. Both sets of methods declare the same thing - that the method parameter must be of type MyObject<> or...
Read more >
Redundant lambda parameter explicit type specification
When you instantiate a delegate by using a lambda expression, and pass input parameters to the lambda expression, it might be unnecessary to ......
Read more >
Redundancy and identifiability (for dummies) - phidot.org
To me (i) a parameter or a function of parameters are identifiable if the model reach a global minimum for one specific value...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found