microsoft / Viva-Connections-Extensibility-Beta

38 stars 6 forks source link

Lab3 - Section 4 RenderType: Not working #6

Closed pkbullock closed 3 years ago

pkbullock commented 3 years ago

Versions

[ 10 ] Operating System [ v12] Node version [ 4] Gulp version [ 1.13.0-beta5] SPFx Generator version (npm list -g @microsoft/generator-sharepoint)

Expected or Desired Behavior

Working through Lab 3, Section 4, persisting renderType, either my understanding is flawed or the state isnt being maintained on clicking in and out of the quick view.

Observed Behavior

I've recorded the outcome from my end, and hopefully enough of the code to see if i have missed anything...

https://user-images.githubusercontent.com/8781041/116385090-60171280-a810-11eb-89d6-b682606ee579.mp4

Steps to Reproduce

Implement Lab 3 - Section 4

coreyroth commented 3 years ago

My understanding of this is that if I clicked on a detailed quick view such as list item #2, dismissed the quick view and then reopened the quick view, it would take me back to detailed quick view with item #2. It didn't work for me if that's the case, but like you maybe I am not understanding this section either.

johnguy0 commented 3 years ago

This is by design.

The quick view stack is cleared when transitioning between the card and quick views. It's possible, but code you would need to implement, to track the current view and then use it to open the quick view.