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

Calendar as editor inside DataTable in row edit mode #2561

Closed
WebDevSpect opened this issue Jan 4, 2022 · 6 comments
Closed

Calendar as editor inside DataTable in row edit mode #2561

WebDevSpect opened this issue Jan 4, 2022 · 6 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@WebDevSpect
Copy link

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

https://codesandbox.io/s/primereact-test-forked-cmoh1?file=/src/App.js

Current behavior

  • When start editing, calendar gets focus (even if it's not first control), and get focus after any changes (even for changes on other fields).

Expected behavior

  • Calendar should be open click on it or after tab selection

Minimal reproduction of the problem with instructions

  • Click on edit row icon
  • Try to enter something in text field before or after select date in calendar.
  • React version:
    17.0.2

  • PrimeReact version:
    7.1.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    all

@melloware
Copy link
Member

Your code sandbox example is not runnable? Can you please fix it?

@WebDevSpect
Copy link
Author

Fixed.

@melloware
Copy link
Member

Your code sandbox link above gives me this...

image

@WebDevSpect
Copy link
Author

WebDevSpect commented Jan 5, 2022

Now should be ok.
Sorry for inconvinience.

Screen Shot 2022-01-05 at 4 33 01 PM

@rburgst
Copy link
Contributor

rburgst commented Jan 14, 2022

same issue here, any updates?

@melloware
Copy link
Member

Debugging it and providing a PR would be great! My guess is its something related with calendar focus when the editor is displayed.

@mertsincan mertsincan self-assigned this Jan 15, 2022
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Jan 15, 2022
@mertsincan mertsincan added this to the 7.1.1 milestone Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

4 participants