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

WheelEvent.wheelDelta[X|Y] should be removed from Dartium API #16046

Closed
DartBot opened this issue Jan 12, 2014 · 10 comments
Closed

WheelEvent.wheelDelta[X|Y] should be removed from Dartium API #16046

DartBot opened this issue Jan 12, 2014 · 10 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html P1 A high priority bug; for example, a single project is unusable or has many test failures
Milestone

Comments

@DartBot
Copy link

DartBot commented Jan 12, 2014

This issue was originally filed by igor.ko...@mailvision.com


What steps will reproduce the problem?
Use the program:


import 'dart:html';

void main() {
  querySelector("body").onMouseWheel.listen((e)=>mouseWheel(e));
}

void mouseWheel(WheelEvent e){
  e.preventDefault();
  bool down = e.wheelDeltaY > 0;
  print(down);
}


What is the expected output? What do you see instead?
Works in dart mode, error during compilation to js:

C:/dart/badwheel/web/badwheel.dart:9:15: Warning: No member named 'wheelDeltaY' in class 'WheelEvent'.
  bool down = e.wheelDeltaY > 0;
              ^^^^^^^^^^^^^

What version of the product are you using? On what operating system?
  Dart SDK version 1.1.0-dev.5.0 in Windows 7 32bits

@iposva-google
Copy link
Contributor

Added Area-Dart2JS, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Apr 8, 2014

This comment was originally written by Danal...@gmail.com


I have encountered the same error in version 1.3.0-dev.7.12.

@DartBot
Copy link
Author

DartBot commented Apr 8, 2014

This comment was originally written by kunzhao7...@gmail.com


In developer tool, if you hover the mouse to e.wheelDeltaY, it shows an value. Is there a work around?

@floitschG
Copy link
Contributor

Removed Area-Dart2JS label.
Added Area-Library, Library-Html labels.

@blois
Copy link
Contributor

blois commented May 19, 2014

Use deltaY- wheelDeltaY is experimental and should be removed.

@kevmoo
Copy link
Member

kevmoo commented May 19, 2014

Changed the title to: "WheelEvent.wheelDelta[X|Y] should be removed from Dartium API".

@alan-knight
Copy link
Contributor

Removed Priority-Unassigned label.
Added Priority-Medium label.

@alan-knight
Copy link
Contributor

Issue #23287 has been merged into this issue.

@alan-knight
Copy link
Contributor

Set owner to @alan-knight.
Added this to the 1.11 milestone.
Removed Priority-Medium label.
Added Priority-High label.

@alan-knight
Copy link
Contributor

@DartBot DartBot added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html labels May 12, 2015
@DartBot DartBot added this to the 1.11 milestone May 12, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

6 participants