unisonweb/ui-core

When `getDefinition` returns more than 1 result, only the first is displayed

Opened this issue · 1 comments

When getDefinition returns more than 1 result, we cut a corner and just render the first one in the list. Its rare that you have 2 things named the same, but can occur with smart constructors like in this example from community member Kristian Notari (who reported this issue):

image

We should just render all definitions that were returned, and focus the first one.

I've been working on this issue.
Please see this branch if you're interested!

https://github.com/yoching/ui-core/tree/fix-multiple-definition