Skip to content

Commit 9f070e8

Browse files
committed
feat: 增加页码获得焦点逻辑
1 parent 8f3ebee commit 9f070e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BootstrapBlazor.PdfReader/PdfReader.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const addToolbarEventHandlers = (el, pdfViewer, invoke, options) => {
292292
}
293293
pdfViewer.currentScale = value / 100;
294294
});
295-
EventHandler.on(toolbar, 'focus', '.bb-view-scale-input', e => {
295+
EventHandler.on(toolbar, 'focus', '.bb-view-scale-input, .bb-view-num', e => {
296296
e.delegateTarget.select();
297297
});
298298
EventHandler.on(toolbar, 'click', '.bb-view-rotate-left', e => {

0 commit comments

Comments
 (0)