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

Missing autofix for methods related to jQuery.position.* #577

Open
1 task
flovogt opened this issue Mar 3, 2025 · 1 comment
Open
1 task

Missing autofix for methods related to jQuery.position.* #577

flovogt opened this issue Mar 3, 2025 · 1 comment
Labels
autofix An issue related to the autofix capabilities

Comments

@flovogt
Copy link
Member

flovogt commented Mar 3, 2025

Missing autofix for methods related to jQuery.position.*

Methods related to jQuery.position.* are deprecated. Therefore an autofix should be offered by UI5 linter.

Deprecated APIs:

  • jQuery.position.*

Deprecated Usage

var scrollbarWidthR = jQuery.position.scrollbarWidth();

Recommended Usage

sap.ui.define([
   "sap/ui/thirdparty/jqueryui/jquery-ui-position"
], (jQuery) => {
  var scrollbarWidthR = jQuery.position.scrollbarWidth();
});
@flovogt flovogt added autofix An issue related to the autofix capabilities enhancement labels Mar 3, 2025
@flovogt
Copy link
Member Author

flovogt commented Mar 3, 2025

Will be implemented in CPOUI5FOUNDATION-990.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autofix An issue related to the autofix capabilities
Projects
None yet
Development

No branches or pull requests

1 participant