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

OOB News Web Part missing Titles for Carousel

Open MayraJaimes opened this issue 7 years ago • 6 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

OOB News Web Part to display titles in carousel mode.

Observed Behavior

The OOB news web part does not display news titles when using the carousel mode. When using Dev Tools the title code does not appear to be rendering in the DOM.

Steps to Reproduce

The steps to reproduce are just to add the news web part to any page in carousel mode. It was replicated only in Chrome. In IE it was working. Below is the example of the news web part that was added to the main intranet page and that is not showing the title.

image

MayraJaimes avatar Jan 02 '19 17:01 MayraJaimes

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

msft-github-bot avatar Jan 02 '19 17:01 msft-github-bot

I've seen this issue on one Client tenant. Certain users would not see the text, others would. The issue seemed to disappear for that tenant. I never found out a fix. But @MayraJaimes I'd be curious to know if you can reproduce the issue on a vanilla site with no other customizations added.

dgusoff avatar Jan 03 '19 14:01 dgusoff

@dgusoff Thank you for your comment and suggestion. I realized that it is only happening when I add my custom webpart to the page! It is only one specific custom webpart though not all of them. I am lost as to what it could be in that webpart that is preventing the titles from showing.

MayraJaimes avatar Jan 08 '19 16:01 MayraJaimes

@MayraJaimes interesting, so it seems something on our custom web parts is causing the issue. Try removing code and/or CSS from the web part incrementally to see if the titles come back at any point. That might help pinpoint the issue. I'd be interested to hear what the issue was if you figure it out.

They'll probably close this issue as it doesn't seem to be a bug in the platform but rather with our customizations.

dgusoff avatar Jan 08 '19 17:01 dgusoff

@dgusoff I believe it was something with the CSS! I was naming the main class "carousel" and the webpart name something with "Carousel" which I think was causing problems with their oob news web part carousel. I created the web part all over again with a different name and then a different css name as well. I also deleted a line of code that had originally added it because i thought I was going to use some bootstrap and I didn't.

Line deleted: image

After those changes it started working perfectly! Thank you for all your help! I will definitely keep in mind these things in mind during future development.

CSS problem: image

MayraJaimes avatar Jan 08 '19 18:01 MayraJaimes

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

msft-github-bot avatar Jan 25 '20 18:01 msft-github-bot