Open sbmaggarwal opened 2 years ago
Hi @sbmaggarwal , sorry for late reply. Can you give me example replication of your scanerio with codesandbox.io
? So that I can replicate your issue.
So I am using
ReactOneDriveFilePicker
and wrapping aButton
inside it.I want to Disable
ReactOneDriveFilePicker
once a File is picked. I am using state variables to manage external file link. Even if I disable the button, the overall DOM area remains clickable, and the OneDrive pop-up opens on clicking.How do I disable this behaviour?
Please tell me how are you able to run this project ?
So I am using
ReactOneDriveFilePicker
and wrapping aButton
inside it.I want to Disable
ReactOneDriveFilePicker
once a File is picked. I am using state variables to manage external file link. Even if I disable the button, the overall DOM area remains clickable, and the OneDrive pop-up opens on clicking.How do I disable this behaviour?