`ListView` doesn't stop scrolling when I reach the end of content, It keeps scrolling (**not infinite scrolling**).

How do I stop the scroll when there is no more content to scroll to?

Tried replacing `ListView` with `Column` --> didn't work.

Tried adding `SingleChildScrollView` --> didn't work.

Tried adding `physics: NeverScrollableScrollPhysics()` to `ListView` --> didn't work.

**Edit:** Tried removing the `Expanded` widget --> didn't work.

It is as there is extra height at the end, but there shouldn't be anything.

Simplified code:

```
Expanded(
                    child: ListView(
                      children: [
                        Obx(() => Column()),
                        Obx(() => Text("Example")),
                        Row()
                      ],
                    ),
                  )

```

Gif of the problem:
<https://imgur.com/a/MsZBanu>

Also, in there is some gray overlay over the whole screen when the Flutter Inspector is working

```
Expanded(
            child: ListView(
              shrinkWrap: true,
              children: [
                Obx(
                  () => NameAndLocationWidget(
                    mountainsController: _mountainsController,

                    locationName: 'Lokacija',
                    name:
                        '${_mountainsController.mountain.value != null ? _mountainsController.mountain.value!.name : "-"}',
                    pathsController: null,
                    fontSize: AppFontSizes.aboutMountainTitle,
                  ),
                ),
                Obx(
                  () => Padding(
                    padding: const EdgeInsets.symmetric(
                        horizontal: AppPaddings
                            .aboutMountainMountainNameHorizontalPadding),
                    child: Text(
                      '${_mountainsController.mountain.value != null ? _mountainsController.mountain.value!.description : "-"}',
                      style: const TextStyle(
                        color: AppColors.aboutMountainDescriptionTextColor,
                        fontSize: AppFontSizes.aboutMountainDescriptionText,
                        height:
                            AppConstants.aboutMountainDescriptionTextHeight,
                      ),
                    ),
                  ),
                ),
                Padding(
                  padding: const EdgeInsets.symmetric(
                      horizontal: AppPaddings
                          .aboutMountainMountainNameHorizontalPadding,
                      vertical: AppPaddings
                          .aboutMountainMountainNameVerticalPadding),
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: [
                      DistanceTimeDifficultyWidget(
                        dTDInfoName: 'distance'.tr,
                        dTDInfoValue: '6 - 10 km',
                      ),
                      DistanceTimeDifficultyWidget(
                        dTDInfoName: 'time'.tr,
                        dTDInfoValue: '2 - 4 h',
                      ),
                      DistanceTimeDifficultyWidget(
                        dTDInfoName: 'difficulty'.tr,
                        dTDInfoValue: 'Easy',
                      ),
                    ],
                  ),
                )
              ],
            ),
          )

```

**Update:**

The problem is not in the code above, but in the bottomNavigationBar:SlidingUpPanel()

```
SlidingUpPanel(
            backdropEnabled: true,
            backdropOpacity: 0.25,
            borderRadius: const BorderRadius.only(
                topLeft: Radius.circular(
                    AppConstants.aboutMountainSolidBottomSheetBorderRadius),
                topRight: Radius.circular(
                    AppConstants.aboutMountainSolidBottomSheetBorderRadius)),
            minHeight: MediaQuery.of(context).size.height * 0.1,
            maxHeight: MediaQuery.of(context).size.height * 0.75,
            controller: _pc,
            panel: Column(
              children: [
                SizedBox(
                  width: double.maxFinite,
                  child: ClipRRect(
                    borderRadius: const BorderRadius.only(
                      topRight: Radius.circular(AppConstants
                          .aboutMountainSolidBottomSheetBorderRadius),
                      topLeft: Radius.circular(AppConstants
                          .aboutMountainSolidBottomSheetBorderRadius),
                    ),
                    child: TextButton(
                        child: Column(
                          children: [
                            RotationTransition(
                              turns: Tween(begin: 0.0, end: 1.0)
                                  .animate(_controller),
                              child: const Icon(
                                Icons.expand_less,
                                color: AppColors
                                    .aboutMountainSolidBottomSheetTextColor,
                                size: AppFontSizes
                                    .aboutMountainSolidBottomSheetText,
                              ),
                            ),
                            Text(
                              "path_list".tr,
                              style: const TextStyle(
                                  color: AppColors
                                      .mountainsScreenBottomModalButtonColor,
                                  fontSize: AppFontSizes
                                      .mountainsScreenBottomModalButtonText),
                            )
                          ],
                        ),
                        onPressed: () {
                          FocusManager.instance.primaryFocus?.unfocus();
                          if (_pc.isPanelClosed) {
                            _controller.forward(from: 0.0);
                            _pc.open();
                          } else {
                            _controller.reverse(from: 0.5);
                            _pc.close();
                          }
                        }),
                  ),
                ),
                Container(
                  margin: const EdgeInsets.symmetric(
                      horizontal: AppConstants.bottomModalSheetSearchMarginHor,
                      vertical: AppConstants.bottomModalSheetSearchMarginVer),
                  decoration: BoxDecoration(
                    color: AppColors.searchBoxBackgroundColor,
                    borderRadius:
                        BorderRadius.circular(AppConstants.searchBoxRadius),
                  ),
                  child: SingleChildScrollView(
                    child: TextField(
                      onChanged: (value) {
                        _pathsController.searchPaths(SearchPathDto(
                            start: 0,
                            size: 10,
                            name: value,
                            mountainId: Get.parameters['id']!));
                        _pathsController.onClose();
                      },
                      decoration: InputDecoration(
                        hintStyle: const TextStyle(
                            fontSize: AppFontSizes.searchBoxHintText),
                        hintText: 'search'.tr,
                        suffixIcon: const Icon(
                          Icons.search,
                          color: AppColors.searchBoxSearchIconColor,
                        ),
                        border: InputBorder.none,
                        contentPadding:
                            const EdgeInsets.all(AppPaddings.searchBoxPadding),
                      ),
                    ),
                  ),
                ),
                Expanded(
                  child: Obx(
                    () => ListView.builder(
                      itemCount: _pathsController.paths.length,
                      scrollDirection: Axis.vertical,
                      itemBuilder: (context, index) {
                        final item = _pathsController.paths[index];
                        return PathCardBox(
                          path: item,
                        );
                      },
                    ),
                  ),
                ),
              ],
            ),
          )

```

It looks like it takes the whole screen (as you can see by the grey overlay in the Flutter Inspector), but it should only take the small amount when it's collapsed.

**Update(12.9.2022):**

Changed the whole layout, now everything from Scaffold(body:) in inside SlidingUpPanel(body:), but the scroll isn't working as well,

is there some SlidingUpPanel property that can conflict with the scroll?
['https://Stackoverflow.com/questions/73645259', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/19717894/']
Use below formula.

```
=TRIM(RIGHT(SUBSTITUTE(A1,"\",REPT(" ",100)),100))

```

If you have most recent release of ***Microsoft-365*** then could try.

```
=TEXTAFTER(A1,"\",-1)

```

[![enter image description here](https://i.stack.imgur.com/deQgt.png)](https://i.stack.imgur.com/deQgt.png)
Just select the column.

Data tab - text to column - select "Delimited" - next - choose Other and enter "" in the box - next - Finish

You can keep which part you want and delete others

[![enter image description here](https://i.stack.imgur.com/M5nnB.png)](https://i.stack.imgur.com/M5nnB.png)

[![enter image description here](https://i.stack.imgur.com/PyooL.png)](https://i.stack.imgur.com/PyooL.png)