GravityKit / AZ-Filters

Alphabetically filter your entries.
https://gravityview.co/extensions/a-z-filter/
3 stars 0 forks source link

Clicking anchor tags no longer filters results in some themes #46

Closed rafaehlers closed 2 years ago

rafaehlers commented 2 years ago

This affects Divi and also Kadence.

This affects Try.

The links don't work anymore:

https://user-images.githubusercontent.com/1222472/188958069-b68508d8-990f-40f9-ad6b-89de8c812f2c.mp4

Tested with AZ 1.3.1

rafaehlers commented 2 years ago

To download Divi: https://www.elegantthemes.com/members-area/ Login: https://docs.gravitykit.com/article/343-logins

rafaehlers commented 2 years ago

https://secure.helpscout.net/conversation/2001812975/43326

I asked the customer to report this to Divi's support as I think that's their problem, but I created this issue so we can keep track of it.

zackkatz commented 2 years ago

This is indeed their issue—the selector they use is

a[href*="#"]:not([href="#"])

It should be updated to make sure that the link starts with a hash:

a[href^="#"]:not([href="#"])