Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PropertyGrid isn't popping up anymore after using enableUnifiedSelectionSyncWithIModel #857

Closed
DanishMehmood-bit opened this issue Jan 29, 2025 · 2 comments

Comments

@DanishMehmood-bit
Copy link

I'm currently updating @itwin/presentation-components pkg to latest and find out that viewWithUnifiedSelection is now deprecated in favor of enableUnifiedSelectionSyncWithIModel. I followed the guide and used it as recommended and now whenever I click on the element in viewport, property grid widget doesn't show up. Here's how I'm using the enableUnifiedSelectionSyncWithIModel.

Image

@grigasp
Copy link
Member

grigasp commented Jan 29, 2025

I see you're passing result of getUnifiedSelectionStorage() as selectionStorage prop. Are you also passing the same object to Presentation.initialize call, like here? More details here.

@DanishMehmood-bit
Copy link
Author

It works. Thanks. Closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants