FindInPage found results only in the content loaded in the viewport


#1

I’m trying to enable the findInPage function in my app, but this found results just on the content loaded inside the viewport. Any idea why it is happening?

const runFindInPage = (text) => {
  const {webContents} = BrowserWindow.getFocusedWindow();
  webContents.findInPage(text);
}