Skip to content

SwaggerUIBundle: the buttons on Authorize pop-up window are overlapped in Firefox #6649

@MastersoftGroup

Description

@MastersoftGroup

Q&A (please complete the following information)

  • OS: Windows 10
  • Browser: Firefox Mozilla
  • Version: 83.0 (also the version before this)
  • Method of installation: npm swagger-ui-dist
  • Swagger-UI version: 3.36.2

Describe the bug you're encountering

For embedded swagger-ui in html using SwaggerUIBundle:
In Firefox, the buttons on the Authorize pop-up window are overlapped:
image

They are OK in Chrome:
image

Also OK in Firefox (same version) but in the actual swagger-ui.html using maven springfox-swagger2 v2.9.2:
image

I am not sure if this issue always happen in Firefox or since certain version of Firefox. But I've tested this in the latest Firefox 83.0 and the version before this.

To reproduce...

Steps to reproduce the behavior:

  1. Add SwaggerUIBundle in html
  2. Open the html page in Firefox
  3. Click on 'Authorize' button
  4. See the 2 buttons are overlapped

Expected behavior

The buttons in Firefox should be rendered correctly like in Chrome, not overlapped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions