jQuery UI dialog button focus

前端 未结 13 2133
时光取名叫无心
时光取名叫无心 2020-12-13 12:08

When a jQuery UI dialog opens, it selects one of the buttons and highlights it or sets focus to it etc... How can I stop this behaviour so that none of the buttons are highl

13条回答
  •  囚心锁ツ
    2020-12-13 12:41

    I could do this in this way. jquery-ui-1.12.0.custom/jquery-ui.css -> onuline:none add on 896 line ouline:none

    .ui-widget button {
            font-family: Arial,Helvetica,sans-serif;
            font-size: 1em;
            outline:none;
        }
    

提交回复
热议问题