Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
342 views
in Technique[技术] by (71.8m points)

reactjs - react-split-pane not working when dragger over the pdf

We have react application and we are splitting the screen to two part left for the displaying the data and right for displaying the pdf file. We have splitted the screen using the react-split-pane. When we drag the splitter to left where html contain are there it is working fine but when I drag the splitter to right where we are displaying the pdf file dragging is not working. Is there way to fix this?

Below is snippet of code

function PdfAndDataPage(){
    return(
        <SplitPane split="vertical" >
            <Pane initialSize="50%" className="pane-full"><DataCmp/></Pane >
            <Pane className="pane-full">
                 <PDFViewer backend={PDFJSBackend} src='/myPDF.pdf' />
            </Pane >
      </SplitPane>
    ); 
}

What I should be done to drag work over the pdf page side also?

question from:https://stackoverflow.com/questions/65853461/react-split-pane-not-working-when-dragger-over-the-pdf

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...