when I use Google Picker with Angular 2 everything seems ok but I get a cross-origin error every time. I work on locale with address http://localhost:5555. And i use jetty server, java at backend. Could someone tell me what to do and what I miss? I see the cross-origin problem is a general issue but I could not find a solution yet.
After a little search i find solution, i comes from css issue. picker object is created in body but not shown as modal. Solution:
.picker-dialog-bg {
z-index: 20000 !important;
}
.picker-dialog {
z-index: 20001 !important;
}
.picker-dialog-content {
position: relative;
}