Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background event background color does not fill cells in Chrome #4145

Closed
robynluo opened this issue Apr 12, 2018 · 10 comments
Closed

Background event background color does not fill cells in Chrome #4145

robynluo opened this issue Apr 12, 2018 · 10 comments

Comments

@robynluo
Copy link

robynluo commented Apr 12, 2018

In the month view, I created a lot of background-resource-event.
There will be a problem, see below:
image

I simulated the scene.
jsbin url:
https://jsbin.com/xesowok/1/edit?html,css,js,console,output

image

The td width of each table can't be consistent. When adjusting the width of the browser, sometimes the correct situation occurs.

image

I hope this problem can be solved, thank you.

@acerix
Copy link
Member

acerix commented Apr 13, 2018

Thanks for the report. I can see the issue in Chrome, but in Firefox it always looks good.

Would you be able to post a runnable, stripped-down demonstration of the bug? Would really appreciate it because the time saved reproducing will be time spent fixing.

@robynluo robynluo changed the title *****the background-resource-event position is wrong when I created has many background-resource-event!!! *****the background-resource-event position is wrong when I created a lot of background-resource-event!!! Apr 13, 2018
@robynluo
Copy link
Author

Thank you for your reply.

I re-simulated the scene, you look at it, thanks.

https://jsbin.com/jubare/2/edit?html,css,js,console,output

@acerix
Copy link
Member

acerix commented Apr 17, 2018

Thanks for the demo. As you mentioned in the support email, the issue also shows here in Chrome 65:

https://fullcalendar.io/docs/background-events-demo

https://i.imgur.com/HQ5C9WG.png

@acerix acerix changed the title *****the background-resource-event position is wrong when I created a lot of background-resource-event!!! Background event background color does not fill cells in Chrome Apr 17, 2018
@arshaw
Copy link
Member

arshaw commented Apr 25, 2018

fullcalendar.js has been patched to fix this:

fullcalendar-0.0.0.zip

@robynluo
Copy link
Author

@arshaw
Thanks for you support.

I've replaced fullcalendar.js in my demo. it looks good.

image

image

@robynluo robynluo closed this as completed May 2, 2018
@arshaw arshaw added this to the next-release milestone May 2, 2018
@arshaw
Copy link
Member

arshaw commented May 2, 2018

great. ill leave this ticket open until i launch it in a real release.

@arshaw arshaw reopened this May 2, 2018
@dennis-jiang
Copy link

@arshaw Is this fix released?

@arshaw
Copy link
Member

arshaw commented Jan 2, 2019

fixed with 312b543

will comment again when released

@arshaw arshaw closed this as completed Jan 2, 2019
@arshaw
Copy link
Member

arshaw commented Jan 11, 2019

released in 3.10.0

@kamleshwebtech
Copy link

I am using full calendar version 4. You can make it as event and pass rendering and color params to calelendar:

$eventRecords = array();
$eventRecords[0]['title'] = 'Available';
$eventRecords[0]['start'] = '2019-11-09T21:00:00';
$eventRecords[0]['end'] = '2019-11-09T22:00:00';
$eventRecords[0]['overlap'] = false;
$eventRecords[0]['rendering'] = 'background';
$eventRecords[0]['color'] = '#00ff00';

It works for me. I hope, this will help you also. Thanks for asking this question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants