fomantic / Fomantic-UI

Fomantic-UI is the official community fork of Semantic-UI
https://fomantic-ui.com
MIT License
3.52k stars 329 forks source link

[calendar] cannot set popup context #3065

Closed GammaGames closed 2 weeks ago

GammaGames commented 2 weeks ago

Bug Report

I am trying to create a calendar inside a small container, but cannot set the context via the popupOptions

Steps to reproduce

  1. Call popup with popupOptions: {context: "body"}

Expected result

Popup should be attached the the body

Actual result

The calendar is always inside the container

Testcase

https://jsfiddle.net/xz16ako4/

Screenshot (if possible)

image

Version

2.9.3

GammaGames commented 2 weeks ago

Oh, you're supposed to set it on the calendar: image

Fixed fiddle: https://jsfiddle.net/0knbrdw9/