reactstrap/reactstrap

Need modal to render in specific div.

Open

#1.011 geöffnet am 9. Mai 2018

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.347 Forks)batch import
PR Welcomeenhancementhelp wantedup-for-grabs

Repository-Metriken

Stars
 (10.557 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Issue description

  • components: Modal
  • reactstrap version #5.0.0
  • import method umd/csj/es
  • react version #16.3.2
  • bootstrap version #4.1.0

What is happening?

Rendering in the DOM but at the very end.

What should be happening?

I need the modal to render over a specific div. In non-react bootstrap land I can put a modal in an absolutely positioned element and have it render centered over that div. It seems I cannot specify which div I would like the component rendered in here. Is it possible to change that?

Thinking out loud - it would be awesome to have a prop called 'container' or something like that -- so that the default behavior can be exactly as you have it- but if there is a specified container, the modal lives there.

Contributor Guide