question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Datetime component is not removed from <body>

See original GitHub issue

When we have one form with one or more datetime component each time that the form is rendered it adds one more <div class="flatpickr-calendar animate" tabindex="-1">...</div> to <body>

After some time of use of the application we can have dozens (or even hundreds) of dummy divs.

image

This could be easily replicated in https://formio.github.io/angular-demo/manager

Is there anything we could on ngOnDestroy to release that when we navigate to out of the form?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jhen1422commented, Dec 26, 2019

@Javo-blip This issue has been resolved in the latest version of 4x.

0reactions
jhen1422commented, Dec 27, 2019

@Javo-blip Yes, please reopen a new ticket in the React issue board.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datetime component is not removed from <body> #223 - GitHub
When we have one form with one or more datetime component each time that the form is rendered it adds one more <div ......
Read more >
HTML5 datetime component is not working in browsers
The Ran the above code in IE(Edge). output is dispalying as simple test input. My guess, this datetime component is removed in all...
Read more >
<input type="datetime-local"> - HTML - MDN Web Docs
This was available in the datetime input type, but this type is now obsolete, having been removed from the spec. The main reasons...
Read more >
Is it possble to remove the time from the date picker?
In Microsoft's portal, for Date prompts in Request Offerings, only the date is available for selection. I'd like to mimic this in the ......
Read more >
smart date time picker bug with reactive form patchvalue
If I run option (2) followed by option (3) then date value in the picker is NOT cleared to null and it still...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found