ckeditor / github-writer

GitHub Writer - WYSIWYG Rich-Text Editor for GitHub, powered by CKEditor.
https://ckeditor.com/
Other
376 stars 61 forks source link

Incorrect code type dropdown positioning #414

Closed Acrophost closed 1 year ago

Acrophost commented 1 year ago

📝 Provide detailed reproduction steps (if any)

  1. Add some text
  2. Select the text and click code button in toolbar

✔️ Expected result

The code type dropdown should be visible next to the code block as below

❌ Actual result

Code type dropdown appears in top right corner of the page (positioned absolutely, so it's invisible if we have some content)

https://user-images.githubusercontent.com/66953380/199941468-5681bd46-fd4b-4068-bcdc-6dd0bbdc02dd.mov

📃 Other details

Tested on ghw/411-version-3530-bump branch, appears both on Chrome and Firefox

The dropdown appears correctly on store version, so it's a regression.