Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Can't pass onRenderCaret to InputPopup from Combobox #49

Open
@hakanderyal

Description

I've just upgraded to 5.x line from 4.x, and couldn't find a way to pass onRenderCaret prop from Combobox to InputPopup.

I've fixed it with

const { onRenderCaret, onRenderPopup, inputPopupProps, styling, ...restProps } = this.props;
const _onRenderCaret = inputPopupProps.onRenderCaret ? inputPopupProps.onRenderCaret : onRenderCaret;
//
{_onRenderCaret(styling, isActive, hover, caret)}

in render method of InputPopup, but not sure this matches the coding style of the project.

Am I missing something, or is it really missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /