sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

MS Teams spfx webpart. Loading message is broken

Open Arturiby opened this issue 6 years ago • 5 comments

Category

  • [x] Bug

Describe the bug

The webpart loading indicator doesn't show specified text message in MS Teams.

I use next code

  protected async onInit(): Promise<any> {
    this.context.statusRenderer.displayLoadingIndicator(this.domElement, 'MyTestWebpart');
    await do(); // do long running operation
    this.context.statusRenderer.clearLoadingIndicator(this.domElement);
  }

The result Снимок экрана 2020-05-22 в 22 28 12

Expected behavior

Loading MyTestWebpart... message should be shown

Env details

  • OS: [MacOS 10.15]
  • Target Environment: MS Teams web
  • Browser(s): Chrome latest version
  • Tooling: VS Code | SPFx v1.10.0
  • package.json
{
  "name": "my-test-webpart",
  "version": "1.2.1",
  "private": true,
  "main": "lib/index.js",
  "engines": {
    "node": ">=0.10.0"
  },
  "scripts": {
    "build": "gulp bundle",
    "clean": "gulp clean",
    "test": "gulp test"
  },
  "dependencies": {
    "@microsoft/sp-core-library": "1.10.0",
    "@microsoft/sp-lodash-subset": "1.10.0",
    "@microsoft/sp-office-ui-fabric-core": "1.10.0",
    "@microsoft/sp-property-pane": "1.10.0",
    "@microsoft/sp-webpart-base": "1.10.0",
    "@pnp/common": "^1.2.8",
    "@pnp/logging": "^1.2.8",
    "@pnp/odata": "^1.2.8",
    "@pnp/polyfill-ie11": "^1.0.1",
    "@pnp/sp": "^1.2.8",
    "@pnp/spfx-controls-react": "1.13.0",
    "@types/es6-promise": "0.0.33",
    "@types/react": "16.8.8",
    "@types/react-dom": "16.8.3",
    "@types/webpack-env": "1.13.1",
    "escape-html": "^1.0.3",
    "moment": "^2.24.0",
    "office-ui-fabric-react": "6.189.2",
    "react": "16.8.5",
    "react-beautiful-dnd": "^11.0.3",
    "react-dom": "16.8.5",
    "semver": "^5.7.1"
  },
  "resolutions": {
    "@types/react": "16.8.8"
  },
  "devDependencies": {
    "@microsoft/rush-stack-compiler-3.3": "0.3.5",
    "@microsoft/sp-build-web": "1.10.0",
    "@microsoft/sp-module-interfaces": "1.10.0",
    "@microsoft/sp-tslint-rules": "1.10.0",
    "@microsoft/sp-webpart-workbench": "1.10.0",
    "@types/chai": "3.4.34",
    "@types/mocha": "2.2.38",
    "ajv": "~5.2.2",
    "gulp": "~3.9.1"
  }
}

Arturiby avatar May 22 '20 19:05 Arturiby

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar May 22 '20 19:05 msft-github-bot

Any updates? This one makes promotion of SPFx in Teams a bit problematic. All out of the box SPFx messages are broken in Teams. CC @patmill @lucabandMSFT

AJIXuMuK avatar Jun 09 '20 15:06 AJIXuMuK

Does this also break the configuration of graph created built-in tabs like Onenote, Streams, Planner? We currently face this issue that non of these tabs can be configured anymore. Might be related: #5892

primalairlabs avatar Jun 16 '20 15:06 primalairlabs

This has been fixed for a while, sorry for the delay in closing.

patmill avatar Nov 16 '21 19:11 patmill

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Nov 24 '21 00:11 ghost