Provide default innerContent in eventContent so it can be wrapped
See original GitHub issueUnlike Tooltip.js I cannot attach the tooltip to a rendered element. The content must be wrapped inside the MUI Tooltip before rendering:
<Tooltip title="Tooltip">
<Content>Arrow</Content>
</Tooltip>
Whereas Content
has to be the original eventContent
dependent on the view (month / list etc.). Then I return the Element via eventContent
.
References: My issue Wordpress implementation: https://github.com/Oberhauser-Dev/gb-fullcalendar/issues/18 See eventContent hook and Tooltip workaround.
How can I get the appropriate innerContent element in the eventContent
hook (e.g. via args
)?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:26
- Comments:12 (2 by maintainers)
Top Results From Across the Web
FullCalendar - JavaScript Event Calendar
Provide default innerContent in eventContent so it can be wrapped. 26. List view, custom columns. 26. Mini calendar to control main calendar.
Read more >fullcalendar/common/main.js.map
documentElement.contains(el)) {\n return null\n }\n do {\n if ... n // if duration will change, there's no way the default duration will persist,\n...
Read more >Editor Window Customization in JavaScript Schedule control
In default event editor window, start and end time duration are processed based on the interval value set within the timeScale property. By...
Read more >HTML Calculated Column: solutions for SP 2010 (Part IV)
In this post I'll provide an easy answer: I don't know. ... To avoid this, what you could do is put the script...
Read more >HTML 5.3: 11. Obsolete features
The missing value default is the scroll state. ... Whenever the < name attribute is set and the frame element's nested browsing context...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@acerix This is no question, although I tried myself answer it in Stack Overflow! This is a feature request. Also related: https://stackoverflow.com/q/60062922/5164462
Means I cannot reproduce the default behavior by using
eventContent
(or only, if I copy big peaces of the original code)I made a sandbox example, where you can toggle the Tooltips on and off. Off means it returns nothing, so it renders the library default content. Even without the Tooltip, you can see the difference.
Alright I managed to accomplish what I wanted to do using
eventDidMount
and old-school javascript DOM manipulation, in my React app