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

[PopOver] Fix Animation vertical #4222

Closed
wants to merge 1 commit into from

Conversation

tintin1343
Copy link
Contributor

@tintin1343 tintin1343 commented May 9, 2016

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Fixes the popover animation origin issue.

Animation starts from the point of click.

Closes : #4219

Current Issue:
old

Fix:
hbdmqrwdpl

Also, the popover position looks alright to me, it scrolls correctly and closes when it should. @mbrookes and I were discussing it.Updating the react-event-listner solves the issue.

popover

@mbrookes
Copy link
Member

@mbrookes and I were discussing it.

Not me I don't think.

Apart from anything else:

"For inline display, such as on a form, consider using compact controls such as segmented dropdown buttons".

https://www.google.com/design/spec/components/pickers.html

@mbrookes
Copy link
Member

screen cap

@nathanmarks
Copy link
Member

@mbrookes

I wonder if us terming it inline is somewhat deceiving -- especially since it isn't any more inline than the dialog version. The Popover is still rendering through a portal in the html document and breaking out of the document flow.

I wouldn't call our popover version of the datepicker "inline" -- but maybe that's just me. Stick an overlay style on the popover layer and you've pretty much got a dialog 😄

@mbrookes
Copy link
Member

I don't think whatever inline should be called is a particularly useful feature as it stands. If it were me, I'd deprecate it in favour of an actual inline picker, rather than trying to fix it.

@nathanmarks
Copy link
Member

@mbrookes me neither... and as long as DatePicker isn't crazy rigid, there's no reason people can't implement it the way we instruct people to implement menu if they really want it in a popover -- right? (using Popover).

@tintin1343
Copy link
Contributor Author

Not me I don't think.

@mbrookes : I was talking about the weird scrolling issue which we were discussing on Saturday.

So what are we going to do about the inline thing? Are we keeping it as is or are we going to go with something new? The reason I am asking is because then I will temporarily halt my work on the inline-timepicker as well.

@nathanmarks
Copy link
Member

@mbrookes @tintin1343

What shall we do what shall we do? 😄

@nathanmarks
Copy link
Member

@tintin1343 in this PR does vertical expanding still work the other way?

@mbrookes
Copy link
Member

No, it changes it. Unfortunately the changed version is also broken. See: #4222 (comment)

@mbrookes
Copy link
Member

mbrookes commented Jun 1, 2016

@tintin1343 closing for now. Feel free to reopen if you have another chance to look at it and still feel it's worth pursuing given that inline DatePicker in it's current form is not optimal.

@mbrookes mbrookes closed this Jun 1, 2016
@zannager zannager added the component: Popover The React component. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Popover The React component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DatePicker] Inline mode has multiple positioning and transition placement/direction issues
4 participants