Giter VIP home page Giter VIP logo

Comments (8)

acro5piano avatar acro5piano commented on June 12, 2024 1

@RajRohitYadav
Thank you very much!

Is this about the minimum height for the event card, or one specific cell height, or complete row height?

I read OP @ShooterArk 's comment again, but I couldn't determine his comment as one specific cell height or overall cell height.

I think we should implement a prop as function which receives event: ICalendarEvent and returns cellHeight: number, just like eventCellStyle does. It will cover both cases and quite flexible.

from react-native-big-calendar.

acro5piano avatar acro5piano commented on June 12, 2024

@ShooterArk
Thank you for your interest in this library.
It is calculated by the height of calendar. Try change height prop of <Calendar />.

from react-native-big-calendar.

ShooterArk avatar ShooterArk commented on June 12, 2024

@acro5piano thank you for quick response my friend.

I studied your plugin code, did find out that the cell height is binded with the height in the props but it causes the problem for me as the cell height gets changed for the complete calendar including the height of the header so I reviewed the code and made the necessary changes for myself.

I would request if possible can you please add cellHeight in the props as well for the Calendar body. My requirement was to show 10 mins slots which was not possible in current unless I changed the cell height so that I can properly see big 10 mins slot.

regards,

from react-native-big-calendar.

acro5piano avatar acro5piano commented on June 12, 2024

@ShooterArk Thank you for the details. Can you create a PR for this? I would like to merge it.

from react-native-big-calendar.

mike-minchenko avatar mike-minchenko commented on June 12, 2024

I really need this opportunity, I still do not have enough knowledge to find the dependency in the source code

from react-native-big-calendar.

acro5piano avatar acro5piano commented on June 12, 2024

Hopefully I'll work on this weekend.

from react-native-big-calendar.

RajRohitYadav avatar RajRohitYadav commented on June 12, 2024

@acro5piano I can help with this. Is this about the minimum height for the event card, or one specific cell height, or complete row height?

from react-native-big-calendar.

acro5piano avatar acro5piano commented on June 12, 2024

It could be configured by renderEvent props. Feel free to reopen if you still want it.

from react-native-big-calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.