age-viewer icon indicating copy to clipboard operation
age-viewer copied to clipboard

AGEViewer or browser is not clickable..and i have attched the error from console below..can anyone help me out

Open Mehakjain09 opened this issue 1 year ago • 7 comments

Uploading Screenshot 2023-11-09 at 8.41.45 PM.png…

Mehakjain09 avatar Nov 09 '23 15:11 Mehakjain09

The screenshot is a link to this issue itself. Can't view the image.

AhmarZaidi avatar Nov 23 '23 14:11 AhmarZaidi

I've found out the reason for this issue. There's an iframe with the highest z-index generated after the root component on the page. So every click is injected by this iframe; hide it in the console will fix this issue temporarily. I'll try to solve it completely by viewing the source code. 截屏2023-11-23 22 37 34

xiaohaoxing avatar Nov 23 '23 14:11 xiaohaoxing

I'm having the same issue with both a local installation and the docker image.

nicholasveloso avatar Jan 18 '24 18:01 nicholasveloso

it is caused by errors in the code , hunt though lines is references the Red Compile Errors failed to compile etc and add a unique label .

if you add unique label to each of the buttons its flaggins you could make it a short name of the class if you want eg. aria-label="SBIDDisconnect" etc.

SidebarHome.jsx

line 446-> 450 i just add the label after the type button

className="frame-head-button close_session btn btn-link" type="button" aria-label="SBIDDisconnect" color="#142B80"

It will then compile with other warnings. not 'Failed to Compile' now I'm not sure what it breaks but seems to work for me. Warnings will appear in other parts of the code seperate to above ,so it test before hand, it was a quick 10min fix. milieage may vary, beeen out of react programming for a year so bit rusty.

HackettJP avatar Feb 19 '24 09:02 HackettJP

I've found out the reason for this issue. There's an iframe with the highest z-index generated after the root component on the page. So every click is injected by this iframe; hide it in the console will fix this issue temporarily. I'll try to solve it completely by viewing the source code. 截屏2023-11-23 22 37 34

Did you found a permanent fix for it?

nicholasveloso avatar Feb 26 '24 16:02 nicholasveloso

My fix works, which is fix the errors in the code and the Security IFrame injection is not created, go though each of the red errors line listed at compile that says error and add unique aria-label ="aria1" etc and it works

HackettJP avatar Mar 05 '24 03:03 HackettJP

There is a PR solving this problem: #165

xiaohaoxing avatar Mar 06 '24 16:03 xiaohaoxing