Primefaces p:fileUpload doesnt work in IE 10

前端 未结 6 1667
攒了一身酷
攒了一身酷 2021-01-13 03:07

Update attribute and onComplete in p:fileUpload doesnt work in IE10. In IE 9 sizeLimit attribute is ignored. Has anyone came across this situation.

I have tried ca

6条回答
  •  逝去的感伤
    2021-01-13 03:39

    Use this CSS workaround. I derived this from the jQuery FileUpload component commit the fixed this issue.

    .fileinput-button input {
        -moz-transform : none !important;
        border : none !important;
        border-width : 0 !important;
        transform : translate(-300px, 0) scale(4) !important;
        font-size : 23px !important;
    }
    * + html .fileinput-button {
        line-height : none !important;
        padding : 2px 15px !important;
    }
    

提交回复
热议问题