[ADF-2032] Using Viewer in overlay mode only works once Created: 24-Nov-17 Updated: 28-Nov-17 Resolved: 28-Nov-17
|Project:||Apps Development Framework|
|Reporter:||Ole Hejlskov||Assignee:||Cristina Jalba|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||ADF Sprint 35|
When using the viewer in overlay mode, the viewer only displays the first time.
Wiring up the document list and the viewer like this:
Double clicking in the document list opens the viewer and all is good. Close the viewer (hit escape or click the arrow), then try to open the same (or another) document and nothing happens.
The (preview) event is fired properly with a node, but nothing happens when showFile is set to true the second time.
|Comment by Denys Vuika [ 27-Nov-17 ]|
Docs have been updated with the correct example of integration. Also, the demo shell sidebar contains a separate "Overlay Viewer" section for testing Viewer in the overlay mode.
|Comment by Cristina Jalba [ 28-Nov-17 ]|
Please change docs/viewer.component.md, line 72 'Pagination' to 'Viewer'
|Comment by Denys Vuika [ 28-Nov-17 ]|
Updated the docs for "development" branch.